Skip to content

Instantly share code, notes, and snippets.

@nutjob4life
Created April 26, 2013 13:09
Show Gist options
  • Save nutjob4life/5467258 to your computer and use it in GitHub Desktop.
Save nutjob4life/5467258 to your computer and use it in GitHub Desktop.
>>> app.ZopeTime()
DateTime('2013/04/26 08:07:53.982604 GMT-5')
>>> import os
>>> os.environ['TZ'] = 'America/Los_Angeles'
>>> app.ZopeTime()
DateTime('2013/04/26 06:08:34.651844 GMT-5')
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment