QDate Format Conversion
-
Hi, im creating an entry form and one of the fields is a date edit box, the problem is that the data is going to be inputed into a SQLITE database which requires the YYYY-MM-DD format but i really want to keep the DD-MM-YYYY format in the date edit box, could someone please tell me how to convert date formats.
Thank you
-
Hi,
Isn't QDateEdit's "displayFormat":http://doc.qt.io/qt-5/qdatetimeedit.html#displayFormat-prop what you are looking for ?
-
I understood, that's what displayFormat is for