日期、时间函数

时间:2021-02-19 13:32:28   收藏:0   阅读:0
显示2016年2月份的日历
print(calendar.month(2016,2))
2016年为闰年
In calendar.isleap(2016)
OUt True
当前时间戳
In time.time()
OUt 145526477.661747
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!