Python time altzone()方法
Python 教程
· 2019-02-03 10:43:46
描述
Python time altzone() 函数返回格林威治西部的夏令时地区的偏移秒数。如果该地区在格林威治东部会返回负值(如西欧,包括英国)。对夏令时启用地区才能使用。
语法
altzone()方法语法:
time.altzone
参数
- NA。
返回值
返回格林威治西部的夏令时地区的偏移秒数。如果该地区在格林威治东部会返回负值(如西欧,包括英国)。
实例
以下实例展示了 altzone()函数的使用方法:
#!/usr/bin/python import time print "time.altzone %d " % time.altzone
以上实例输出结果为:
time.altzone() 25200
点击查看所有 Python 教程 文章: https://www.codercto.com/courses/l/8.html
An Introduction to the Analysis of Algorithms
Robert Sedgewick、Philippe Flajolet / Addison-Wesley Professional / 1995-12-10 / CAD 67.99
This book is a thorough overview of the primary techniques and models used in the mathematical analysis of algorithms. The first half of the book draws upon classical mathematical material from discre......一起来看看 《An Introduction to the Analysis of Algorithms》 这本书的介绍吧!
HTML 压缩/解压工具
在线压缩/解压 HTML 代码
UNIX 时间戳转换
UNIX 时间戳转换