Difference between revisions of "DayOfWeek"
Jump to navigation
Jump to search
(Created page with "Returns a numerical value, indicating the day of the week corresponding to the specified date, where 0 = Sunday, 1 = Monday, etc. The Date is specified in the YYYMMdd format...") |
(No difference)
|
Revision as of 12:04, 19 January 2012
Returns a numerical value, indicating the day of the week corresponding to the specified date, where 0 = Sunday, 1 = Monday, etc.
The Date is specified in the YYYMMdd format, where YYY is the number of years since 1900, MM is the month, and dd is the day of the month.
Usage
DayOfWeek(YYYMMdd)
Where: YYYMMdd - a numerical expression, specifying the date in YYYMMdd format
Example
DayOfWeek(1080101) will return a value of 2, indicating Tuesday, for January 1st, 2008
DayOfWeek(990603) will return a value of 4, indicating Thursday, for June 3rd, 1999