Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Validate for DateOfBirth using regular Expression.
Which full fill the below condition
Date of Birth should be in DD-MM-YYYY format (like 12-12-2014 etc) and date of birth should not be future date.

Any one please help me
Posted

1 solution

When you asked this question yesterday, I (and others) told you "don't use a Regex" and even explained why not, and showed you how to do it.
Date of Birth should be in DD-MM-YYYY format and date of birth should not be[^]

The world has not changed overnight.
The answer has not changed either...
 
Share this answer
 
Comments
Maciej Los 20-Dec-14 12:30pm    
Paul, why did you answered it again?
OriginalGriff 20-Dec-14 12:39pm    
Because it's Christmas? :laugh:
Maciej Los 20-Dec-14 13:21pm    
Christmas, today? It starts earlier than i supposed :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900