Month

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

Returns:                    Numeric

Usage:                       Script or Steady State

Format:                      Month(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 Year functions to decompose a date number into the corresponding day, month and year. January is month 1.

Example:

myMonth = Month(8394 { 25 December 1992 });

The variable myMonth will be given the value 12.

See Also:

Date | DateNum | Day | Today | Year