Get Month

Returns the numeric month in the year based on date expression.

Inputs

Date
A String object that represents the date.

Format
A String object that represents the date's format.

Output

Returns an integer that specifies the numerical value for the month.

Copyright IBM Corp. 2003, 2004