Skip to main content

get_current_timezone

Return the currently active time zone as a tzinfo instance.

def get_current_timezone() - > tzinfo

Return the currently active time zone as a tzinfo instance.

Returns

TypeDescription
tzinfoThe currently active time zone object, or the default time zone if no specific zone is active.