YouTip LogoYouTip

Att Time Altzone

# Python2.x Python time altzone() Method * * * ## Description The Python time altzone() function returns the offset in seconds for the western timezone of Greenwich, including daylight saving time. If the timezone is east of Greenwich, it returns a negative value (e.g., Western Europe, including the UK). It is only applicable to regions where daylight saving time is enabled. ## Syntax The syntax for the altzone() method is: time.altzone ## Parameters * NA. ## Return Value Returns the offset in seconds for the western timezone of Greenwich, including daylight saving time. If the timezone is east of Greenwich, it returns a negative value (e.g., Western Europe, including the UK). ## Example The following example demonstrates the usage of the altzone() function: #!/usr/bin/pythonimport time print "time.altzone %d " % time.altzone The output of the above example is: time.altzone() 25200
← Att Time AsctimeAtt Dictionary Values β†’