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


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

Re: Missing something about timezones

Started bySkip Montanaro <skip.montanaro@gmail.com>
First post2016-03-14 11:29 -0500
Last post2016-03-14 11:29 -0500
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: Missing something about timezones Skip Montanaro <skip.montanaro@gmail.com> - 2016-03-14 11:29 -0500

#104836 — Re: Missing something about timezones

FromSkip Montanaro <skip.montanaro@gmail.com>
Date2016-03-14 11:29 -0500
SubjectRe: Missing something about timezones
Message-ID<mailman.115.1457972964.12893.python-list@python.org>
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

[toc] | [standalone]


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


csiph-web