win32timezone.TimeZoneInfo Object
Main class for handling Windows time zones. Usage: TimeZoneInfo(<Time Zone Standard Name>, [<Fix Standard Time>])
Comments
If <Fix Standard Time> evaluates to True, daylight savings time is calculated in the same way as standard time.
Methods
- GetDSTStartTime
- Given a year, determines the time when daylight savings time starts
- get_sorted_time_zones
- Return the time zones sorted by some key.
- utc
- Returns a time-zone representing UTC.
- GetDSTEndTime
- Given a year, determines the time when daylight savings ends.
- dst
- Calculates the daylight savings offset according to the datetime.tzinfo spec
- get_sorted_time_zone_names
- Return a list of time zone names that can be used to initialize TimeZoneInfo instances
- utcoffset
- Calculates the utcoffset according to the datetime.tzinfo spec
- local
- Returns the local time zone as defined by the operating system in the