win32timezone.TimeZoneInfo.utc

utc(class_)

Returns a time-zone representing UTC.

Parameters

class_ :

class_

Comments

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

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

True