Get Year

Returns the numeric 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 year.

Copyright IBM Corp. 2004, 2005