Okan Yıldırım
08/07/2022, 1:30 PMChris Tsongas
08/07/2022, 11:51 PMbirthday: {
gte: new Date().setHours(0, 0, 0, 0),
lte: new Date().setHours(23, 59, 59, 999),
}
You may also need to call .toISOString()
on those dates if you're storing them in UTC.