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

php - How to display all orders for a single product showing the most recent first? Woocommerce -

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

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -