Question Need date of the 1st Monday of the current month (1 Viewer)

ghudson

Registered User.
Local time
Today, 15:48
Joined
Jun 8, 2002
Messages
6,194
Searching has left me dazed and confused on this one.

I need a simple calculation to obtain the date of the first Monday of the current month in a field in a report?

Thanks in advance for your help!
 

boblarson

Smeghead
Local time
Today, 12:48
Joined
Jan 12, 2001
Messages
32,059
REMOVED URL as the code is not working properly.
 
Last edited:

ghudson

Registered User.
Local time
Today, 15:48
Joined
Jun 8, 2002
Messages
6,194
Thanks Bob.

Odd, but when I tried...

?GetFirstOfDay("Mon")
or
MsgBox GetFirstOfDay("Mon")

The function returns 5/1/2010 but 5/3/2010 is the 1st Monday in May 2010.
 

boblarson

Smeghead
Local time
Today, 12:48
Joined
Jan 12, 2001
Messages
32,059
Looks like I'll have to have to fix that, eh?
 

boblarson

Smeghead
Local time
Today, 12:48
Joined
Jan 12, 2001
Messages
32,059
Glad you got it. I disabled my web page until it is fixed.
 

Users who are viewing this thread

Top Bottom