new Date() not match correctly data in mongodb

Please read Formatting code and log snippets in posts and post your answer again. The way it is marked up it does not render correctly and readers are missing most of the important back ticks.

If I quote you, I think I get the original text which looks like:

Which I think is rendered the way you want, but I am not sure.