Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Initializing DateTime Picker Control
Message
From
29/10/1999 03:10:39
 
 
To
All
General information
Forum:
Visual C++
Category:
Other
Title:
Initializing DateTime Picker Control
Miscellaneous
Thread ID:
00283661
Message ID:
00283661
Views:
41
I'm trying to use Microsoft's DateTime Picker ActiveX Control in my asp page but I do not know how to set the Minimum/Maximum date. FOr example, I tried:

< PARAM NAME="MinDate" VALUE="10/01/1999" >

but it doesn't work as I am still able to choose earlier dates.

I notice that when I paste the control from the toolbox onto my ASP page and view it as text, I see the following settings for MinDate and MaxDate:

< PARAM NAME="MaxDate" VALUE="2958465" >
< PARAM NAME="MinDate" VALUE="-109205" >

What are those? Perhaps it's a date format? If so, and the only way I can set the MaxDate and MinDate is by using the format, then how can I convert from "10/01/1999" to that number format?

Or if you can refer me to any online resource that automatically picks dates like Date Picker, I would be very grateful.

Thanks.

Ramon Carlos
Reply
Map
View

Click here to load this message in the networking platform