摘要:
##coding=utf-8import time'''时间戳localtime mktime结构化时间对象strftime strptime格式化时间字符串'''# 时间戳 1970.1.1 到当前时间的时间间隔,单位秒print(time.time()) #1643351022.6102395 阅读全文
posted @ 2022-05-15 23:23
奋翅凌紫氛
阅读(72)
评论(0)
推荐(0)
摘要:
import datetimeimport timeprint("{:=^50s}".format("datetime.date"))#datetime.date#生成日期d = datetime.date.today()print(d, type(d))d = datetime.date(2020 阅读全文
posted @ 2022-05-15 23:22
奋翅凌紫氛
阅读(356)
评论(0)
推荐(0)