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

Need to know a date 1

Status
Not open for further replies.

Elsje

Programmer
Feb 20, 2004
44
BE
Hello,

I have a weeknumber for example week 51 and I need to know a date in this week for example 19/12/2007. It can be any date in this week.

Is there an easy way to do something like this.

Thanks in advance
Els
 
Try :

DayNo = (Week -1) * 7
Date = DateAdd("d", DayNo,#1/1/2007#)

Should give you date of the first day in that week.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top