Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Week #

New Here ,
Mar 13, 2007 Mar 13, 2007
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
TOPICS
Server side applications
622
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 13, 2007 Mar 13, 2007
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/
Translate
LEGEND ,
Mar 13, 2007 Mar 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/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 13, 2007 Mar 13, 2007
ASP
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 13, 2007 Mar 13, 2007
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/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 13, 2007 Mar 13, 2007
LATEST
Thank You....
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 13, 2007 Mar 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




Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 13, 2007 Mar 13, 2007
Yes but that won't tell me about what the week number is....will it?????
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 13, 2007 Mar 13, 2007
Yes it will. I forget the exact syntax, something like DatePart(ww,mydate)

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





Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 13, 2007 Mar 13, 2007
ASP
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines