源代码:
import datetime
x = (datetime.datetime.now() + datetime.timedelta(days=7))
print("星期%d" % (x.weekday() + 1))
2023-11-25 23:17:40
源代码:
import datetime
x = (datetime.datetime.now() + datetime.timedelta(days=7))
print("星期%d" % (x.weekday() + 1))
下一篇:ts类型-枚举