Question about a Work Week span

J

Joe Cilinceon

I'm trying to figure out how to setup a work week calculation. The week
starts on Saturday and runs thru Friday.
 
M

mscertified

Your question is rather vague? what are you trying to do?
If you need to know how to figure out the current day of the week, you would
use the DATEPART function, eg.
Dim DOW as variant
DOW = datepart("w",now())
this function returns 1-7, 1=Sunday thru 7=Saturday, so you will have to
make the adjustment for your week which starts on Saturday.
Look in VB HELP for the Datepart function

Dorian
 
J

Joe Cilinceon

What I'm asking is how Access sets what a work week is and can it be
changed? I'm not solving a problem but trying to understand how it works.
Really looking for some plain english explanation of these
function/functions. A site that explains it better than the built in Help
would be fine.
 
Top