0

I need timezone specific conditions for a cron, and the server being Google AppEngine, I have no idea where the server will be.

What's the best way to get the timezone?

john2x
  • 22,546
  • 16
  • 57
  • 95
  • Take a look: http://stackoverflow.com/questions/1111056/get-tz-information-of-the-system-in-python – alecxe Aug 02 '13 at 12:50
  • Also take a look at: http://stackoverflow.com/questions/17908994/how-to-get-current-uk-time-in-google-app-engine/17909487#17909487 – Tombatron Aug 02 '13 at 13:51

1 Answers1

2

According to the App Engine documentation, servers are always set to UTC: http://timezones.appspot.com/ Do you have any indication that this is not correct?

See this answer for more information on finding the timezone on linux systems: How do I find the current system timezone?

Community
  • 1
  • 1
BakaKuna
  • 585
  • 4
  • 13