Handling multiple timezones in application

This question already has an answer here:

  • Daylight saving time and time zone best practices [closed] 30 answers

  • 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时区问题?

    下一篇: 在应用程序中处理多个时区