Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 25th, 2003, 01:38 AM
Authorized User
 
Join Date: Sep 2003
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default get the week from the given date

How can I get the week from the given date using the calendar control?
E.g., If i choose a date, it must return me which week of the year it is?

thanks
 
Old September 25th, 2003, 11:49 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

DatePart("ww", now())

http://msdn.microsoft.com/library/de.../vsfctdate.asp

that function pulls out the current week. (39)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining a week from current date... flippyn5 PHP Databases 1 December 2nd, 2005 09:01 PM
How to generate weeknumber/begin of week date in method Access 2 June 22nd, 2005 11:13 AM
Week number to a date pdistant ASP.NET 1.0 and 1.1 Professional 5 August 17th, 2004 07:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.