I want to insert a date into a collection. I use the class MongoDate to create the date object:
MongoDate
$today = new MongoDate(strtotime(date(\'Y-m-d 00
FYI: If you need date created for your object model.
$date_created = new \MongoDB\BSON\UTCDateTime(time()*1000);