I try to store a date inside a mongodb collection:
const date = new Date();
const time = {
date: date,
timestamp: date.getTime(),
}
Collection.insert(time); // no schema
What is actually stored:
{ "_id" : "PmMCEANtvfBwNGApH", "date" : "2021-01-14T14:33:36.520Z", "timestamp" : 1610634816 }
What i would expect:
{ "_id" : "PmMCEANtvfBwNGApH", "date" : " ISODate("2021-01-14T14:33:36.520Z"), "timestamp" : 1610634816 }
What do i have to do, to achieve the second?

Try this see if it works.