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

Compare Validator and Date format 1

Status
Not open for further replies.

mrp9090

Programmer
May 22, 2006
71
GB
What date format does the Compare Validator check against? The date format of the web server or of the client?

<asp:CompareValidator ID="CompareValidator2" runat="server"
Display="None" ErrorMessage="Please enter a valid date in format dd/mm/yyyy"
ControlToValidate="txtDueDate" Type="Date" Operator="DataTypeCheck"></asp:CompareValidator>
 
Since it is a server control, I would assume the server dateformat would be used.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top