4 ms·
Sorry, I should have been more specific. I meant to say that if a date is associated with some location (such as on a travel site) then you need to make sure th
by jaredsohn 10y ago
Sorry, I should have been more specific. I meant to say that if a date is associated with some location (such as on a travel site) then you need to make sure that that the date gets stored for the timezone of that location and that you keep track of what the timezone should be so you can use it when displaying it again.
For example, if you have a flight leaving SFO at July 16, 2016 4:00 PM PDT, you don't want to show it as July 16, 2016 1:00 PM if viewing it from New York.
- jjnoakes 10y agoThis thread was about changing time zones though. If you have a local time and you don't need to change time zones, then of course it is fine to store it as local time.