Xbasic
DOW_ISO Function
Syntax
Day_of_Week as N = dow_iso(D date )
Arguments
- Day_of_Week
The ISO day of the week (Monday = 1, Sunday = 7).
- date
The date to be analyzed.
Description
Returns the ISO 8601 Day of Week # where Monday is day 1 and Sunday is day 7
Discussion
The DOW_ISO() function returns the ISO day of the week.
Example
? dow_iso(date() ) = 4 ? dow_iso( ctod( "01/19/2006") ) = 4
See Also