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


Groups > comp.lang.python > #76399

Re: timezone argument %z and %Z

References <53EEF7DF.7080409@gmail.com> <85fvgx53rn.fsf@benfinney.id.au>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2014-08-16 02:21 -0600
Subject Re: timezone argument %z and %Z
Newsgroups comp.lang.python
Message-ID <mailman.13046.1408177752.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Aug 16, 2014 at 12:48 AM, Ben Finney <ben+python@benfinney.id.au>
wrote:
> > 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.

You should also be aware that the abbreviations do not always uniquely
identify a time zone. For example, "EST" is used in both North America
(-0500) and Australia (+1000). It's usually better just to use time zone
offsets to avoid this sort of ambiguity.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: timezone argument %z and %Z Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-16 02:21 -0600

csiph-web