Returns the month in the specified date according to local time.
Method of XDate
Syntax
getMonth()
Parameters
None
Description
The value returned by getMonth is an integer between 0 and 11. 0 corresponds to January, 1 to February, and so on.
Examples
The second statement below assigns the value 11 to the variable month, based on the value of the XDate object Xmas99.