dob required and sql formatting