altzone() function in python by R4R Team

- altzone() is the python attribute of the time module. This returns the offset of the local DST timezone, in seconds west of UTC, if one is defined. This is negative if the local DST timezone is east of UTC (as in Western Europe, including the UK). Only use this if daylight is nonzero.

Syntax-

time.altzone

-This method returns the offset of the local DST timezone, in seconds west of UTC, if one is defined.


program-

import time
print("time altzone is")
print(time.altzone)


output-

time altzone is
-23400




Leave a Comment:
Search
Categories
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!