How to evaluate a date difference in years, months and days (ruby)?

后端 未结 5 1697
后悔当初
后悔当初 2021-01-04 03:06

I have to make a simple difference between two dates:

Date.parse(\"2009-06-20\") - Date.today

This gives me the difference of the dates in

5条回答
提交回复
热议问题