【发布时间】:2013-01-16 07:19:08
【问题描述】:
可能重复:
Datatype/structure to store timezones in MySQL
How to store users timezone in mysql?
我看到两个选项 - 与 UTC 或 GMT 的偏移量,或者将时区存储在像“Asia/Seoul”这样的字符串中。我知道偏移方法不考虑时间变化,所以我不会使用它,但由于某种原因,存储用户刚刚用英语输入的时区似乎有点奇怪。还有其他一些我忽略的时区格式吗?
【问题讨论】:
标签: php mysql database datetime timezone