SyntaxFix
Write A Post
Hire A Developer
Questions
// from MongoDate object to Javascript Date object var MongoDate = {sec: 1493016016, usec: 650000}; var dt = new Date("1970-01-01T00:00:00+00:00"); dt.setSeconds(MongoDate.sec);