DayOfWeek()
语法
Result = DayOfWeek(Date)概要
Returns the weekday of the specified date.
参数
Date The date value from which to extract the weekday.
返回值
Returns a number between 0 and 6 representing the day of the week:0 : Sunday 1 : Monday 2 : Tuesday 3 : Wednesday 4 : Thursday 5 : Friday 6 : Saturday
示例
Debug DayOfWeek(Date(2006, 10, 30, 0, 0, 0)) ; Outputs '1' for Monday.
参阅
FormatDate(), Year(), Month(), Day(), Hour(), Minute(), Second()
已支持操作系统
所有