How can I calculate the number of days between today and a date that's stored in my MongoDB database in ISO format? Your help is greatly appreciated.
let ISOdate = ISODate("2020-12-25T20:40:08.295Z")
let difference = newDate() - ISOdate;
if (difference > 45 days) { return ok }