Month()
Convert a date value to the number of the month.
Syntax
Month(<dDate>) --> nMonth
Arguments
<dDate> --> is the date value to convert.
Returns
Month() returns a number between 0 and 12. Specifying a null date (CTOD("")) returns zero.
Description
Month() is a date conversion function that is useful when you require a numeric month value during calculations for such things as periodic reports. See also Day() and Year() which return the number of the day of the week and the day of the year respectively. The function CMonth() returns the name of the month from a date value.
____________________________
Related Topics: