Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

day of the week question

Status
Not open for further replies.

dumdum2

Programmer
Mar 18, 2000
98
GB
Is there a way to check if today's date, ie date() is a Friday?

Thanks!
 
Code:
If WeekDay(Date()) = 6 Then
   MsgBox "Today is Friday"
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top