mongodb - expireAfterSeconds what timezone is used? -


when i'm doing:

db.events.ensureindex({ "expiresat": 1 }, { expireafterseconds: 0 }) 

what timezone expiresat comparing ??

mongodb dates utc dates. therefore, values can st "expiresat" field utc times. , expiry going @ after set expiryafterseconds (in case 0) passed since expiresat in utc time.


Comments

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -