Python 3 time.strftime() change output timezone -


possible duplicate:
how use timezones datetime object in python?

time.strftime("%y%m%d %a %i:%m %p") 

give me need... but, want pdt, not local timezone. idea how this?

you can use pytz library:

check this: python: display time in different time zone


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -