Difference Between Two datetimes

D'Arcy J.M. Cain darcy at druid.net
Mon Dec 28 12:37:49 EST 2009


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.

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list