convert birthdate to string passed