Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting string to date
Message
From
17/05/2006 20:44:19
 
 
To
14/05/2006 09:50:33
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01121705
Message ID:
01123072
Views:
20
do you mean instead this ?
if(CDate.Parse(DtpCCValidUpto.text)<Now()) Then
instead of the following wrong line?
if(CDate(DtpCCValidUpto.text)<Now()) Then
   MessageBox.Show ("Invalid date.")
   DtpCCValidUpto.Focus()
   Return
endif
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform