docs.intersystems.com
Home / InterSystems SQL Reference / SQL Functions / DAY

InterSystems SQL Reference
DAY
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


A date function that returns the day of the month for a date expression.
Synopsis
DAY(date-expression)
{fn DAY(date-expression)}
Arguments
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


Previous section           Next section
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-04-10 14:45:57