calculate based on a weekend

icemonster

Registered User.
Local time
Today, 11:52
Joined
Jan 30, 2010
Messages
502
hi.

is there a term or function within access that identifies if the given day is a weekend? cause i want to do something like:

HourseWorked*Date(If weekend, 1.5) something like this.
 
You can use the Weekday() function to test the day of the week. That and an IIf() should get you what you want.
 
can you give me a sample? :P
 
?weekday(date())
6
 
if weekday(date)<>vbsaturday and weekday(date)<>vbsunday then
etc
 

Users who are viewing this thread

Back
Top Bottom