DateTime::toDate().