klyn.time.TimeZone.local
property
public static readonly property local as TimeZone:
Description

Returns the operating system's current local timezone offset.

The returned value is a fixed-offset snapshot for the current instant. Calling this property again after a daylight-saving transition returns the newly applicable offset.

Returns

The current local timezone.

Example
import klyn.time

local = TimeZone.local
print(local)  # For example: Local (UTC+2)