Time.lastDayOfMonth

Time

The last day of the given Time's month For example for the Time: "Mar 30, 2005 15:11:16-03", its value is: "Mar 31, 2005 15:11:16-03"