DAY()

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

Syntax

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

Usage

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

Example

MAIN
  DISPLAY DAY ( TODAY )
  DISPLAY DAY ( CURRENT )
END MAIN