Year

Description:              This function returns the year for a given date number.

Returns:                    Numeric

Usage:                       Script or Steady State

Format:                      Year(Date)

Parameters:             Date     { numeric }  { required }  { no default: }

                                                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.

See Also:

Date | DateNum | Day | Month | Today