Python subtract dates or days from date to get years, months, days

前端 未结 0 1046
醉梦人生
醉梦人生 2021-01-11 14:16

I am trying to subtract two dates or days from today\'s date. I want to get the result in years, months, days. How to do that?

Expecting 1 year, 2 months, 5 day

相关标签:
回答
  • 消灭零回复
提交回复
热议问题