私はNode.js
+ MongoDB
サーバーにOpenShift
を持っています。 var date = new Date()
操作でサーバー上で日付と比較できるように日付をフォーマットする必要のあるタイムゾーンはどれですか? ssh経由であなたのギアに接続した後OpenShiftで日付を比較するために必要なタイムゾーンはどれですか?
collection.find({'recordType' : recordType,
'modificationDate' : $gte : new Date(modificationDate)}},
{fields : {'modificationDate':0}}).toArray(function(err, results)
* Server Timeに依存することはお勧めできません。* http://stackoverflow.com/questions/13364036/create-javascript-date-utc –