Provide a couple of datetime.tzinfo objects representing local time and UTC.
This module provides two datetime.tzinfo objects representing UTC and local time zones. These are used to convert timestamps to and from UTC and local time. The weather station software stores data with UTC timestamps, to avoid problems with daylight savings time, but the template and plot programs output data with local times.
The module is copied directly from the datetime.tzinfo module documentation.
Classes
LocalTimezone | Local time |
UTC | UTC |
datetime | datetime(year, month, day[, hour[, minute[, second[, microsecond[,tzinfo]]]]]) |
timedelta | Difference between two datetime values. |
tzinfo | Abstract base class for time zone info objects. |
Comments or questions? Please subscribe to the pywws mailing list http://groups.google.com/group/pywws and let us know.