I am creating a GUI and trying to get a date from the user using DateEdit. It works fine, except that when I start the application, the default date is 1/1/2000. How do I get the DateEdit widget to default to system time? Nothing I've found in the PyQt docs has helped me.
self.date = QtGui.QDateEdit(self.wizardPage2)
self.date.setMaximumDateTime(QtCore.QDateTime(QtCore.QDate(7999, 12, 28), QtCore.QTime(23, 59, 59)))
self.date.setCalendarPopup(True)