I have saved date entries in a sqlite database table. The date fields were converted to a format taken from qdatewidget like this:
due_date = self.dateEdit.date().toString(self.dateEdit_3.displayFormat())
which makes it a string like 10/14/2021, but saves it as a date, which is fine.
Now i would like to read this entries back, but sqlite wont give anything back when i try this:
day = (self.dateEdit_2.date().toString(self.dateEdit_3.displayFormat()))
because day then is also a string 10/14/2021, but the entries in sqlite are date. How could i solve this?