Weekday(Date) : Weekday « Date Functions « VBA / Excel / Access / Word






Weekday(Date)

 
Sub Main2()
   Debug.Print "Today's date is: " & Date
   Debug.Print "The day of the week is: " & Weekday(Date)
End Sub

 








Related examples in the same category

1.Weekday(date) returns A Variant/Integer containing the day of the week represented by date
2.Use Weekday to get the weekday value from a date
3.Get the weekend between startDate and endDate
4.The Weekday function values