Weekday

Return the day of the week.
Syntax
Weekday(Date [,FirstDayofWeek])

Key
Date A date expression

FirstDayofWeek An integer for the first day of the week

Example
result = Weekday(#Mar/6/2010#)
WScript.Echo result
> 7

Weekday will return one of the following constant values:

vbSunday 1
vbMonday 2
vbTuesday 3
vbWednesday 4
vbThursday 5
vbFriday 6
vbSaturday 7 

Make a Free Website with Yola.