$now
Returns the BSON datetime at the point the operator is hydrated.
Example¶
{ "created": "$now" }
{ "created": { "$date": "2017-02-20T04:44:24.880Z" } }
{ "created": ISODate("2017-02-20T04:44:24.880Z") }
Returns the BSON datetime at the point the operator is hydrated.
{ "created": "$now" }
{ "created": { "$date": "2017-02-20T04:44:24.880Z" } }
{ "created": ISODate("2017-02-20T04:44:24.880Z") }