软文情感网
您的当前位置:首页PythonAPI使用总结代码

PythonAPI使用总结代码

来源:软文情感网


这篇文章介绍Python API使用总结代码

datetime

datetime.date.today().strftime("%Y/%m/%d")
new_date = datetime.date(1945, 8, 15)
new_date + datetime.timedelta(days=,minuts=,microseconds=) # 修改方法之一
new_date.replace(month=new_date.month+1, day=, year=) # 修改方法之二
显示全文