In my database collections, I want to update a \'lastChanged\' field every time the record is updated with the current datetime. I want it to be in the same format as mongoo
If you just want an ISO String use:
new Date().toISOString()