timezone argument %z and %Z
Ben Finney
ben+python at benfinney.id.au
Sat Aug 16 02:48:12 EDT 2014
luofeiyu <elearn2014 at gmail.com> writes:
> In my system : win7+ python3.4 .
AFAIK, Microsoft's Windows OS does not provide correct standard
timezones for programmers. They provide only proprietary data, which do
not match the international standard time zones.
You will need to install timezone support specifically for Python, with
the ‘pytz’ library I directed you to earlier.
> problem 1:
> There are 24 time zone in the world, does any time zone has the time
> zone name such as EST,CST ?
> Are there 24 time zone abbreviations in python ?what are other 22
> except for EST ,CST ?
There are *many* time zones in the world, much more than 24. Please read
up on time zones, you should already have plenty of pointers instead of
asking here all the time.
--
\ “Software patents provide one more means of controlling access |
`\ to information. They are the tool of choice for the internet |
_o__) highwayman.” —Anthony Taylor |
Ben Finney
More information about the Python-list
mailing list