Month Function
Returns the month for the specified date.
Syntax
value = Month( expression )
Parameters
expression
any expression that resolves to a date in the format YYYYMMDD
returns
the month for the given date
Examples
tradeMonth = Month( 20021215 ) ' returns 12