Change type of birthdate from string to date