I want find number of months and days between two dates in ruby. For example:
started_at = '2015-10-27' ended_at = '2016-07-30'
So, i want a function return '9 months and 3 days'.
Aucun commentaire:
Enregistrer un commentaire