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++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -