I was debugging some error. While doing so I found some strange data in MongoDB as following.
{
"_id" : ObjectId("5bea69494f5490b7e28b2d1d"),
"date" : Date(-61562574238000)
}
I always thought the date in Mongo gets saved as follows.
{
"_id" : ObjectId("5bea69494f5490b7e28b2d1d"),
"date" : ISODate("2009-04-29T00:37:00.000Z")
}
Just wondering what is the reason behind it.