I have a Node.js
+ MongoDB
server on OpenShift
. Which timezone I need to format a date to be able to compare it with a date was created on server with var date = new Date()
operation?
collection.find({'recordType' : recordType,
'modificationDate' : $gte : new Date(modificationDate)}},
{fields : {'modificationDate':0}}).toArray(function(err, results)