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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help converting a date within a query 1

Status
Not open for further replies.

GW91203

Technical User
Sep 30, 2004
1
US
I need help converting a posting date within a week to the Friday date of that week.

Example: Posting date of 9/7/04 (Tuesday) would convert to 9/10/04 (Friday).

Any help will be appreciated.
 
Something like this ?
DateAdd("d", 6-Format([Posting date],"w"), [Posting date])

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top