MONTH()

The MONTH() operator extracts the month of a date time expression.

Syntax

MONTH ( expr )
  1. expr is a date / time expression.

Usage

Returns a positive whole number between 1 and 12 corresponding to the month of its operand.

MAIN
  DISPLAY MONTH ( TODAY )
  DISPLAY MONTH ( CURRENT )
END MAIN