Completed setDOB function