So, In meteor, I am trying to count the number of documents created today. Obviouly the code below tries to match it to the time of the day along with the date.
var ct2 = Bids.find({$and:[{bidder:currentUser},{createdAt:Date()}]}).count();
How do I go about finding the number of documents for today ?
Thanks in advance.