win32timezone.TimeZoneInfo.utc

utc()

Returns a time-zone representing UTC.

Comments

Same as TimeZoneInfo('GMT Standard Time', True) but caches the result for performance.

>>> isinstance(TimeZoneInfo.utc(), TimeZoneInfo)

True

This is a @classmethod.