Call to_datetime to turn datetime string into an object