import time,datetime #时间戳 print(time.time()) #今天的日期 print(datetime.date.today())
转载来源:https://blog.csdn.net/weixin_/article/details/
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/207055.html原文链接:https://javaforall.net
python获取当前时间戳和日期importtime datetime 时间戳 print time time 今天的日期 print datetime date today 转载来源 https blog csdn net weixin article details
import time,datetime #时间戳 print(time.time()) #今天的日期 print(datetime.date.today())
转载来源:https://blog.csdn.net/weixin_/article/details/
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/207055.html原文链接:https://javaforall.net