PYQT5 DATA

date.setDate(d)
#Where d is the QDateand date is the name of the date edit.
68Duck