日期、时间函数

显示2016年2月份的日历
print(calendar.month(2016,2))
2016年为闰年
In calendar.isleap(2016)
OUt True
当前时间戳
In time.time()
OUt 145526477.661747
posted @ 2021-02-18 08:58  我的博客2021  阅读(55)  评论(0)    收藏  举报