LastDayOfMonth(Date date)

Returns the last day of the month in which the date falls.

Parameters

date
The date to check.

Returns

Date

Examples