wasm-demo/demo/ermis-f/python_m/cur/0974

38 lines
1.1 KiB
Plaintext

From: scrompton at quantisci.co.uk (Stephen Crompton)
Date: Thu, 15 Apr 1999 19:27:22 +0100
Subject: timezone stuff driving me bonkers!!!
References: <371604B6.C6267011@quantisci.co.uk> <37160A7D.72AD2893@lemburg.com>
Message-ID: <37162F8A.B5CF4307@quantisci.co.uk>
X-UID: 974
M.-A. Lemburg wrote:
> Try the utc2local() function in mxDateTime (an extension package
> which can download from my Python Pages).
>
> It will convert a DateTime instance using UTC values to a
> DateTime instance using local time. The .ticks() method on
> that instance will get you the time since epoch value.
>
> Cheers,
> --
> Marc-Andre Lemburg Y2000: 260 days left
> ---------------------------------------------------------------------
> : Python Pages >>> http://starship.skyport.net/~lemburg/ :
> ---------------------------------------------------------
Thanks Marc. But why is the logic wrong in the first place ?
Cheers,
Steve.
-------------------------------------------
Business Collaborator : http://www.quantisci.co.uk/bc