Advantage Concepts
Advantage Expression Engine function that returns the day of the month as a numeric value
DAY(<dDate>) à nDay
<dDate> A date value to convert.
DAY() returns a number in the range of zero to 31 as an integer numeric value. If the month is February, leap years are considered. If the date argument is February 29 and the year is not a leap year, DAY() returns zero. If the date argument is empty, DAY() returns zero.
DAY() is a date conversion function used to convert a date value to the day of a month and can be used in various date calculations.
Note Advantage Expression Engine functions can be used in expressions such as record filter expressions and index expressions. They are not necessarily scalars supported within SQL statements. For a list of supported SQL scalar functions, see Supported Scalar Functions.