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

Week Numbers

Status
Not open for further replies.

blackcat9000

Programmer
Feb 25, 2003
15
GB
Hi there folks, I have another problem.

The formula below works out the week based on the date you put in

Me![scrweek] = Format(Date, "ww")

The problem is that say the date entered is 03/02/2004 (UK Format) the week result will show 6.

I want it to show 06.

Can anyone help?

Thanks in advance.

 
Have you tried,

Code:
Me![scrweek] = Format(Format(Date, "ww"),"00")


Take Care,

zemp

"Show me someone with both feet on the ground and I will show you someone who can't put their pants on."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top