import datetime

today = datetime.date.today()
oneday = datetime.timedelta(days=1)
yesterday = today-oneday

tomorrow=today+oneday

print today
print oneday
print yesterday

print tomorrow

相关文章:

  • 2022-12-23
  • 2021-11-29
  • 2021-12-20
  • 2022-12-23
  • 2022-01-12
猜你喜欢
  • 2022-02-06
  • 2021-08-11
  • 2021-12-14
  • 2022-01-05
相关资源
相似解决方案