from datetime import date, timedelta  
dt = date.today() - timedelta(5)  
print('Current Date :',date.today())  
print('5 days before Current Date :',dt)

 

相关文章:

  • 2021-11-28
  • 2021-11-28
  • 2021-12-29
  • 2022-12-23
  • 2022-01-11
  • 2022-02-21
  • 2022-12-23
猜你喜欢
  • 2021-11-28
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
相关资源
相似解决方案