Re: Doing date/time + TZ math in python

2007-01-11 Thread Joshua J. Kugler
[EMAIL PROTECTED] wrote: The problem is, how do I create a datetime object and tell it that it's America/Anchorage *daylight savings time* instead of whatever the system is currently set at? pytz only has America/Anchorage, and I saw no way to tell it explicitly that the timezone is in

Re: Doing date/time + TZ math in python

2007-01-06 Thread [EMAIL PROTECTED]
Joshua J. Kugler wrote: I've read docs (datetime, time, pytz, mx.DateTime), googled, and experimented. I still don't know how to accomplish what I want to accomplish. I'm loading up a bunch of date/time data that I then need to do math on to compare it to the current date/time. I can get

Doing date/time + TZ math in python

2007-01-05 Thread Joshua J. Kugler
I've read docs (datetime, time, pytz, mx.DateTime), googled, and experimented. I still don't know how to accomplish what I want to accomplish. I'm loading up a bunch of date/time data that I then need to do math on to compare it to the current date/time. I can get the current time easily