[Tutor] Time - sum/difference
Jonas Melian
jonasmg at SoftHome.net
Thu Oct 20 23:18:37 CEST 2005
I would get the local time of a country, using UTC (Universal Time
Coordinated) and DST (Daylight SavingTime) of that country.
An example, utc time -02:30 and dst +1 :
country_utc = datetime.time(2,30)
isUTCNegative = True
dst = datetime.time(1,0)
Now I would the difference of both times.
-02:30 + 01:00 -> -01:30
Is possible get sum/difference of time values? How?
Thanks in advance
More information about the Tutor
mailing list