【问题标题】:How to get the timezone of a server?如何获取服务器的时区?
【发布时间】:2013-08-02 12:44:17
【问题描述】:

我需要 cron 的时区特定条件,服务器是 Google AppEngine,我不知道服务器在哪里。

获取时区的最佳方式是什么?

【问题讨论】:

标签: python google-app-engine


【解决方案1】:

根据 App Engine 文档,服务器始终设置为 UTC:http://timezones.appspot.com/您是否有任何迹象表明这不正确?

有关在 linux 系统上查找时区的更多信息,请参阅此答案:How do I find the current system timezone?

【讨论】:

    猜你喜欢
    • 2013-11-02
    • 2011-06-09
    • 1970-01-01
    • 2011-03-15
    • 1970-01-01
    • 1970-01-01
    • 2016-09-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多