Handle datetimes.