def getTimezoneOffset(self):
"""
Return the current local timezone offset from UTC.
@rtype: C{int}
@return: The number of seconds offset from UTC. West is positive,
east is negative.
"""
if time.daylight:
return time.altzone
return time.timezone
评论列表
文章目录