Description |
NDOW (Magic xpa 3.x)
Converts the number of the day of the week (e.g. 1, 2) to the corresponding name (e.g., Sunday, Monday).
|
Syntax:
|
NDOW(day of week)
|
Parameters:
|
day of week: A number that represents the day of the week.
|
Returns:
|
Alpha string (containing day-of-week description)
|
Example:
|
NDOW(1) returns 'Sunday'. NDOW(DOW('01/28/1992'Date)) returns 'Tuesday'.
|
Note:
|
If the day of week is greater than 7, it is reduced to the 7-day weekly cycle; that is, 0,7,14,21... = Saturday.
|
See also:
|
DOW, CDOW
The Online and Rich Client Samples projects (program DT19 and RDT19)
|
|
|
---|