GETMONTH
Syntax
<getmonth-expression> := 'GETMONTH(' <Date> ')'
Since
2.5
Return-type
Integer
Description
Returns the month of the passed date. If the argument is NULL, the function also returns NULL.
Examples
GETDAY( TODATE( '2008-03-31', 'yyyy-MM-dd' ) )
Returns 3 (the month of the argument).
