Convert datetime to records in driver instead

Needs to be done in the driver because that is the only place we have the
type information to do the correct conversion.