Handling multiple timezones in application
This question already has an answer here:
I would suggest storing all times in UTC format. Perform all your calculations and algorithms with the UTC time. You only care about timezones for display purposes. For a particular user, convert the UTC time to their preferred timezone.
链接地址: http://www.djcxy.com/p/29340.html上一篇: 在服务器中没有UTC时区问题?
下一篇: 在应用程序中处理多个时区