Sets the date/time part of the instance, leaving the time specification unaffected. If dt is a local time (
dt.timeSpec() == Qt.LocalTime
) and the instance is UTC, dt is first converted from the current system time zone to UTC before being stored. If the instance was date-only, it is changed to being a date and time value. name="dt" date and time