MongoDB Compass - How To Insert Date Type?
Try like this:
{
"type":"grunt",
"last_used": {
"$date": "2018-04-15T16:54:40.000Z"
},
"created_at": {
"$date": "2018-04-15T16:54:40.000Z"
}
}
Try like this:
2016-01-24T13:21:55.000