3 ms·
Doesn't matter as far as the DB is concerned. You either just store UTC and co, or you store it just as an datetime + offset. 100% of apps in production don't
by coldtea 9y ago
Doesn't matter as far as the DB is concerned.
You either just store UTC and co, or you store it just as an datetime + offset.
100% of apps in production don't handle most of the timezone intricacies anyway and the sky hasn't fallen (heck, the sky hasn't even fallen for Y2K).
- hueving 9y agoIt does matter for preserving original timezone. An int is a data loss.
- manigandham 9y agoTimezones have more information and are a mini-database in themselves, which is why most database include the information and have timezone capable types. Offsets as simple numbers are not usable in any real calculation. 100% of apps? You must not know what timezone intricacies are then or just how much effort is spent to make sure time itself is properly handled, especially in any major application that has global users.
- coldtea 9y ago>You must not know what timezone intricacies are then or just how much effort is spent to make sure time itself is properly handled, especially in any major application that has global users. You'd be surprised.