3 ms·
Well, some of us have been asking for a native high-resolution time type for three years: https://jira.mongodb.org/browse/SERVER-1460 https://jira.mongodb.org/b
by jzwinck 13y ago
Well, some of us have been asking for a native high-resolution time type for three years: https://jira.mongodb.org/browse/SERVER-1460 https://jira.mongodb.org/browse/SERVER-1460
- rudiger 13y agoCan't you just store it in a regular 64-bit integer and know it's a datetime from your application's logic? What do you gain with a native, high-resolution datatime type?
- bqe 13y agoAutomatic timezone conversion and the ability to add and subtract dates without first dropping to your 64-bit into. Think DATE_SUB(date time, INTERVAL 1 HOUR) from MySQL for instance.