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

Setting MinDate Property = Today's date for DateTimePicker COntrol ASP

Status
Not open for further replies.

Deadline

Programmer
Feb 28, 2001
367
US
Message:
Hi Hope your Valentine's Day was fun.

Now, I have a doubt in ASP. I have a DatePicker Control in an ASP page . And I need the MinDate property of that to be Today's Date. I am constantly getting Invalid value for MinDate property error.


Since we are operating and deploying completely in MS platform, Browser compatiblity isn't an issue. Only IE.

I tried CDate, FormateDateTime with Client Side VBScript. Nope , None of them works. Please make my Valentine week happier by suggesting a solution to this.


Do you know a fix to this ? If so, please send it across to festivista97@yahoo.com

See you later.!!! :D

RR

 
Try using the VBS function Now() to get the current date, or use Date() or Date(Now). One of those should work. Harold Blackorby
hblackorby@scoreinteractive.com
St. Louis, MO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top