This function adding one returns the current month of the year.
Return value
The return value is an Integer, which ranges from 0 to 11.
Example
If the current month is September, the return value of the following statement is 8.
Month()
This function extracts the month portion from a specified TimeStamp value.
Parameter
a - A TimeStamp value.
Return value
The return value is an Integer.
Example
If the timestamp is July 15, 1999 10:10:10, the return value of the following statement is 7.
Month(ToDateTime(1999, 7, 15, 10, 10, 10))
This function extracts the month portion from a specified Date value.
Parameter
a - A Date value.
Return value
The return value is an Integer.
Example
If the date is June 15,1999, the return value of the following statement is 6.
Month(ToDate(1999, 6, 15))