How does one deal with multiple TimeZones in applications that store dates and times?

后端 未结 6 1611
轻奢々
轻奢々 2020-12-18 08:50

I realize this is a bit subjective, but I\'m hoping to pick everyones brain here on how they deal with multiple timezones? There are a variety of similar questions here and

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-18 09:01

    You always store date/time in one time zone(9 out of 10 it is London time) and convert it on display to the timezone of your user. This is strictly application level issue not the db.

提交回复
热议问题