When the data is posted onto the receiving page, you'll get say
month=5
Day=8
year = 1945
(not my birthday!!)
you would then - add them up like a human would to form a date like string such as "8/5/1945" and try and convert it to a date, if it succeeds they it was ok however if they entered something like 31st september.. it woudl fail and you know they need to check what they entered
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
Offline 1,735 posts
since Aug 2008