Skip to content
Shaun Lawrence edited this page Aug 13, 2020 · 1 revision

Returns the year component from the supplied date/time.

YearOf(date)

Parameters

date

The date/time to extract the year component from.

Type DateTime
Required Yes

Examples

YearOf(#25/12/2020#)

Returns a value of 2020.

Clone this wiki locally