I am saving current date in mongodb with new Date(), But it is storing the date with the current time like below:
ISODate("2018-12-04T13:34:03.510+05:30")
I want to save only the date with above format, but without timezone for comparison purpose. Please tell me how can i do this?