LastDayOfYear(Date date)

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

Parameters

date
The date to check.

Returns

Date

Examples