Let's say I have 54 days, how can I calculate the number of months (assume 30 days per month), number of weeks and days for it javascript ?
For 54 days it should give : 1 month, 3 weeks, 3 days. For 7 days it should give : 0 month, 1 week, 0 days. For 13 days it should give : 0 month, 1 week, 6 days. etc ...
Thanks a lot for your help!
this: