Month

(Engine-Level Function)

Description: Returns the month for a given date number.
Returns: Numeric
Usage: Script or steady state.
Function Groups: Time and Date
Related to: Date | DateNum | Day | Today | Year
Format: Month(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 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.