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

valid Date of birth

Status
Not open for further replies.

venkatpavan

Programmer
Feb 18, 2006
42
SG
Hi,

How can I check whether Date of birth which I have is valid,I need to check the following,

DOB – should be valid date and less than current date

DOB format - 1970/12/11

similarly for Date time stamp
TIMESTAMP – should be valid date and time and less then current timestamp

Thanks,
V
 
u do client side validation if this is coming from a web-page. with perl
use Date::Calc module.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top