Find number of months weeks and day from a number
<p>Say I have the number 234 <strong>edit</strong> (in days). How can I find how many months ,weeks and days?
Is there a function or I have to calculate them myself? My main problem is the months cause they have no fixed number of days (30,31,28).</p>

<p>Actually I am writing an app where the time per charge is entered in days. But in the view I don't want to display "charge per 234 days" but "charge per x months y week n days"</p>

<p>Thanks in advance</p>
