Description |
Day (Magic xpa 4.x)
Returns the day portion of a date, i.e., a number 1-31.
|
Syntax:
|
Day(date)
|
Parameters:
|
date: A date or a date expression.
|
Returns:
|
Number
|
Examples:
|
Day('01/28/92'Date) returns 28.
|
|
The following expression displays the word "Overdue" if the system date is later than the 15th of the month: IF(Day(Date())>15,'Overdue',')
|
See also:
|
CDOW, DOW, NDOW
How Do I Calculate the Day/Month/Year Portion of a Given Date Value?
The Online and Rich Client Samples projects (program DT14 and RDT14)
|
|
|
---|