now = datetime.datetime.now() addda = datetime.timedelta(days=1) newday = now+days print newday.strftime('%Y-%m-%d %H:%M:%S')
python datetime加减
最新推荐文章于 2024-09-25 17:27:33 发布
now = datetime.datetime.now() addda = datetime.timedelta(days=1) newday = now+days print newday.strftime('%Y-%m-%d %H:%M:%S')