excel数字转日期
import datetime
delta = datetime.timedelta()
today = datetime.datetime.strptime('1899/12/30', '%Y/%m/%d') + delta # 将1899-12-30转化为可以计算的时间格式并加上要转化的日期戳
x = datetime.datetime.strftime(today, '%Y/%m/%d')
import datetime
delta = datetime.timedelta()
today = datetime.datetime.strptime('1899/12/30', '%Y/%m/%d') + delta # 将1899-12-30转化为可以计算的时间格式并加上要转化的日期戳
x = datetime.datetime.strftime(today, '%Y/%m/%d')