tags:

views:

22

answers:

1

I want to validate the date entered in the format dd/mm/yyyy. Using exceptionvalidation I can validate correctly only if the date is entered in the format mm/dd/yyyy. Can anyone suggest some workarounds?

A: 

try doing two validations, i assume you are validating a string using DateTime.Parse.

On the second validation try specifying a culture which uses ddmmyyyy format, such as Australia

benPearce