Python time.timezone Constant
Python time. timezone constant returns the local (non-DST) timezone offset in UTC format, where DST stands for Daylight Saving Time. It is negative in most of Western Europe, positive in the US, zero in the UK). This constant returns the current timezone in which you reside.
A similar function to get the name of timezone is time.tzname. It gives output in the form of a tuple. The tuple contains two strings. The first one is the non-DST timezone in the area, and the second one is the name of the DST timezone in the area.
('India Standard Time', 'India Summer Time')
It returns the offset of the local DST timezone, in seconds west of UTC
It returns Nonzero if a DST timezone is defined