Difference Between Two datetimes

W. eWatson wolftracks at invalid.com
Mon Dec 28 13:12:45 EST 2009


D'Arcy J.M. Cain wrote:
> On Mon, 28 Dec 2009 08:20:28 -0800
> "W. eWatson" <wolftracks at invalid.com> wrote:
>> Sort of the opposite of a stopped clock. It's right twice a day. How 
>> does one solve the DST problem?
> 
> Depends on which DST problem you have.  There is more than one solution
> depending on what the problem is.  Store and compare in UTC and display
> in local time is one solution but it may not be yours.
> 
Actually, UTC is quite relevant here. I would guess there is some way to 
use datetime for UTC?



More information about the Python-list mailing list