def
func:lastOfMonth
lastOfMonth(date)
Get the last day of the date's month. Also see firstOfMonth()
.
Example:
2009-10-28.lastOfMonth >> 2009-10-31
Get the last day of the date's month. Also see firstOfMonth()
.
Example:
2009-10-28.lastOfMonth >> 2009-10-31