I have a textfield where the user can enter their date of birth, now i wants to make sure whether the input is of date format before saving into database. I gone through the SO , but still i didn't get the answer. Can anyone tell me how to validate(is it date) the input.
The date format would be MM/DD/YYYY
Note:I don't want the user to select date through date picker.