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


Groups > comp.lang.python > #104836

Re: Missing something about timezones

From Skip Montanaro <skip.montanaro@gmail.com>
Newsgroups comp.lang.python
Subject Re: Missing something about timezones
Date 2016-03-14 11:29 -0500
Message-ID <mailman.115.1457972964.12893.python-list@python.org> (permalink)
References <CANc-5UxYPyj85EZfOwGuJarBNj=Ob4mdu7A3Vt4rL8qJhTi+8A@mail.gmail.com> <CALwzidmkEkJzmDipPHddfjwx0ggxD=9Vg-csGaTY0+KUojL1eg@mail.gmail.com> <CANc-5UxK6uAPFVX50ZUCjpsqJZRPao1Z+kv5kFKTr0cVXrb03Q@mail.gmail.com> <CALwzidmCBH0jdpEtAVWWmqPV3oppWsM=frizV_QvCOLkZuE2UA@mail.gmail.com>

Show all headers | View raw


On Mon, Mar 14, 2016 at 11:20 AM, Ian Kelly <ian.g.kelly@gmail.com> wrote:
> Note that the above example is technically incorrect since
> datetime.now() returns local time and I'm not in the Chicago timezone,
> but it demonstrates the process.
>
> Also, if you haven't already read the pytz documentation, you should.
> http://pythonhosted.org/pytz/

Thanks. I have remained pretty naive about timezones (sorry for the
pun). The platform I use actually does the right thing, but like a
dope I failed to use the mechanisms it provided.

Skip

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


Thread

Re: Missing something about timezones Skip Montanaro <skip.montanaro@gmail.com> - 2016-03-14 11:29 -0500

csiph-web