Add function to interpret user inputted dates