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!

Date of Last Monday 2

Status
Not open for further replies.

mychal

Programmer
Feb 13, 2002
41
US
I want to create a formula, in CR 8.5, that will return the Date of last Monday. Can anybody help?

Thanks.
 
Try:

currentdate - dayofweek(currentdate) + 2

But if the currentdate = Monday, this would give you today's date. Is that what you want to happen?

-LB
 
I think this is closer to what you want.

currentdate - dayofweek(currentdate,crTuesday)

~Brian
 
I'm using bdreed35's formula, but lbass' post helped me to create bdreed35's before he posted it. Starts to both of you! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top