Daylight saving time question
Mr Pekka Niiranen
pekka.niiranen at pp5.inet.fi
Tue Mar 20 15:53:38 EDT 2007
Hi,
is it possible to get the two annual daylight saving times
(day, month and time) from Python by giving location
in some country/location string ("Europe/Finland" for example).
I need to ask country in program and calculate daylight
saving times for the next few years onwards somehow like this:
for y in range(2007, 2017):
(m1,d1,t1,m2,d2,t2) = daylight_change_epochs("Finland")
-pekka-
More information about the Python-list
mailing list