Python‎ > ‎time‎ > ‎

time.tzname

http://www.adilwaseem.com/

Introduction
Return with the local time zone in the system.

Syntax
time.tzname->tuple

Parameters
N/A

Import module
Importing module is required in the Shell window and the Editor window.

Example
Return with local time zone prevailing in the system.
 >>>import time>>> time.tzname
('Eastern Standard Time', 'Eastern Daylight Time')
>>>

Comments