time, strptime, daylight saving

Oleg Broytmann phd at phd.russ.ru
Mon Dec 20 06:28:11 EST 1999


On Mon, 20 Dec 1999, Malcolm Tredinnick wrote:
> To answer your question, if you pass a value of -1 as the last element of the
> tuple to mktime(), it will fill in the right value from the system's time
> zone. I guess that is what you want (use x = -1).

   Yes, it seems to work for my simple tests! Nice, thank you.
   Will give it more tests in real programs...

Oleg.
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd at phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list