Month

sql

FUNCTION Month(IN dt DATE) RETURNS INT;

Parameters

dt date in the 602SQL internal format

Description

The Month function extracts the month from the date. You may also use the general function EXTRACT in SQL.

Function value

This function returns the number of the month (range from 1 to 12).

See