FirstDayOfYear(Date date)

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

Parameters

date
The date to check.

Returns

Date

Examples