os.timezone

Return the current timezone offset.

Module Contents

Functions

timezone(→ float)

Return current timezone offset in hours.

os.timezone.timezone() float

Return current timezone offset in hours.

Returns:

offset from utc in hours