I am using the following code to make sure my textbox has a valid date entered into it:
<asp:CompareValidator ID="cvStartDate" runat="server" Operator="DataTypeCheck"
Type="Date" ControlToValidate="txtStartDate" ErrorMessage="Please enter the
start date in the format of dd/MM/yyyy hh:mm"/>
But when I enter a date with a time validation fails. Is there a way to get this type of validator to accept dates with times too or do I have to build a custom validator for this? If I have to go down the custom validation route what would you suggest?