I need to query in my mongoDB in between yesterday beginning of the day and yesterday end of the day which is
T00:00:00 and T11:59:59
However everytime I add .toDate() method to any of the moment/or regular javascript methods it adds 7 hours to the time or something? and every time i add UTC hours it adds another day which is not correct either. What can i do? Thanks