Weekday (function)
Syntax | Weekday (date) |
Description | Returns an Integer value representing the day of the week given by date. Sunday is 1, Monday is 2, and so on. The date parameter is any expression representing a valid date. |
Example |
This example gets a date in an input box and displays the day of the week and its name for the date entered.
|
See Also | Day (function);Minute (function); Second (function); Month (function); Year (function); Hour (function); DatePart (function). |