Skip to main content
Participating Frequently
March 13, 2007
Answered

Week #

  • March 13, 2007
  • 3 replies
  • 622 views
Hi All,
If I have a user entering a date in a form how can I convert that date to week # ? Example this is week #10 of the year 2007...

Thanks,

Lenny
This topic has been closed for replies.
Correct answer Newsgroup_User
Lenny@ford wrote:
> ASP

I don't do ASP, but it took less than one minute to find this on Google:

http://www.microsoft.com/technet/scriptcenter/guide/sas_vbs_ufbq.mspx?mfr=true

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

3 replies

Lenny1Author
Participating Frequently
March 13, 2007
ASP
Inspiring
March 13, 2007
Have a look at the DatePart function.

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004




Lenny1Author
Participating Frequently
March 13, 2007
Yes but that won't tell me about what the week number is....will it?????
Inspiring
March 13, 2007
Lenny@ford wrote:
> Hi All,
> If I have a user entering a date in a form how can I convert that date to week # ? Example this is week #10 of the year 2007...

It's different for each server-side language. Which are you using?

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Lenny1Author
Participating Frequently
March 13, 2007
ASP