Python time method altzone() is the quality of the occasion unit. These revisits equalize of the local DST time zone, in seconds west of UTC, if one is described. This is unenthusiastic if the restricted DST time zone is east of UTC (as in Western Europe, incorporating the UK). Only utilize this if daytime is nonzero.
Following is the syntax for altzone() method:
This method returns the offset of the local DST timezone, in seconds west of UTC, if one is defined.
The following example shows the usage of altzone() method.
print "time.altzone %d " % time.altzone
When we run above program, it produces following result:
Here at Intellinuts, we have created a complete Python tutorial for Beginners to get started in Python.