Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

DAY

A date function that returns the day of the month for a date expression.

Synopsis

DAY(date-expression)
{fn DAY(date-expression)}

Arguments

Argument Description
date-expression An expression that is the name of a column, the result of another scalar function, or a date or timestamp literal.

Description

Note:

The DAY function is an alias for the DAYOFMONTH function. DAY is provided for TSQL compatibility. Refer to DAYOFMONTH for further details.

See Also