Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76397 > unrolled thread

Re: timezone argument %z and %Z

Started byBen Finney <ben+python@benfinney.id.au>
First post2014-08-16 16:48 +1000
Last post2014-08-16 16:48 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: timezone  argument %z and %Z Ben Finney <ben+python@benfinney.id.au> - 2014-08-16 16:48 +1000

#76397 — Re: timezone argument %z and %Z

FromBen Finney <ben+python@benfinney.id.au>
Date2014-08-16 16:48 +1000
SubjectRe: timezone argument %z and %Z
Message-ID<mailman.13044.1408171708.18130.python-list@python.org>
luofeiyu <elearn2014@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web