Search for a Specific day (Monday)

marrett

Registered User.
Local time
Today, 00:35
Joined
Sep 8, 2000
Messages
43
Hi

Is there a way to search for a day of the week. I don't care what the date is I just want to check to see if it is a Saturday or sunday.



Thanks,

Maria
 
Yes, you use weekday([yourfield]). This returns an integer representing the day of week. However I don´t remember which is for saturday.

Fuga.
 
You could also use
If Me.MyDate =vbSaturday Or vbSunday Then
DoSomething
 
Weekday

Thank,

I kew it would be simple. I just could find it.

Thanks for your time,

Maria
 

Users who are viewing this thread

Back
Top Bottom