要求されたページは選択されたバージョンでは利用できない。
WeekDay
Syntax
integer WeekDay (integer datevalue )
Description
Get the weekday number.
Parameters
datevalue
A number representing a date.
Return Value
The return value is the day number in the range 1-7 (Sunday is 1, Saturday is 7).
Notes
- This function is equivalent to the “weekday” function as it can be used by the tester in a “#” expression.
- To get a day number in a month use the Day function.
- To get a text representation use the FormatDate function (with a “date format” setting like " ddd " or " dddd “).