Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: date format for compare validator


Message #1 by RajeshN <RajeshN@i...> on Sat, 11 Jan 2003 13:17:15 +0530
Hi,

I'm using a comparevalidator for comparing dates. But the comparevalidator
compares dates only if it is in mm/dd/yy format. But the date format we show
on the UI is of the form dd/MMM/yyyy HH:mm:ss . The compare validator does
not understand this date format and the validation fails. Is there a way to
change this so that the compare validator understands the new format. I've
tried creating a new CultureInfo and setting the current thread to use this
culture. But it didn't work. Any help is highly appreciated.

Thanks

Rajesh

  Return to Index