Year

(Engine-Level Function)

Description: Returns the year for a given date number.
Returns: Numeric
Usage: Script or steady state.
Function Groups: Time and Date
Related to: Date | DateNum | Day | Month | Today
Format: Year(Date)
Parameters:  
Date  
Required. Any numeric expression giving the number of days since January 1, 1970.
Comments: This function works in conjunction with the Day and Month functions to decompose a date number into the corresponding day, month and year.

Example:

whatYear = Year(8394 { 25 December 1992 });

The value of whatYear will be 1992.