[Tutor] datetime, time zones, and ISO time

William Witteman yam at nerd.cx
Wed Feb 17 22:48:59 CET 2010

On Wed, Feb 17, 2010 at 03:24:26PM -0600, David Perlman wrote:
>But this doesn't help, because then you still don't know whether it's
>dst or not.  You then would have to jump through whatever
>convolutions to do that calculation.
>All I want to know is the *current* offset between local time and
>utc.  I know the system has this information already; it doesn't
>require any kind of fancy calculations about global politics or

Well, does time.timezone help?  It returns time offset from UTC in



More information about the Tutor mailing list