3 ms·
I am currently working on a product which followed what you mentioned above. The problem we ran into is what the author of the article highlights. You cannot co
by wizerno 5y ago
I am currently working on a product which followed what you mentioned above. The problem we ran into is what the author of the article highlights. You cannot convert stored UTC times to local timezones reliably wihtout additional information.
For example, for a conference whose starting time is stored as 14:00 Hrs UTC (0900 Hrs America/New_York) before DST, will suddenly start at 10:00 Hrs America/New_York after DST. Coincidentally, we just redid our implementation to follow Option 3 before New York's DST kicks in and it works as expected so far.
Please correct me if my understanding of your method is incorrect.
- pritambarhate 5y agoThe standard date time library of your programming language should be able to handle the DST changes when you specify the timezone changes when you store it as "America/New_York". Java (which I use primarily) Date Time lib handles this for you.