Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Syntax
Date.Year(dateTime as any) as nullable number
About
Returns the year component of the provided datetime value, dateTime.
Example
Find the year in #datetime(2011, 12, 31, 9, 15, 36).
Usage
Date.Year(#datetime(2011, 12, 31, 9, 15, 36))
Output
2011