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

Determining what week a date falls in??? 1

Status
Not open for further replies.

VoodooRage

Programmer
Oct 9, 2002
43
US
Is there any function to determine what "WEEK" in a year a date falls into? I would like to have a calculated expression that would assign a number to a date based on which week of the year it falls into.

Any help is greatly appreciated.
 
Check out the parameters for DatePart.

Debug.Print DatePart("ww", Now())
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top