Qt 6.11 is out! See what's new in the release
blog
QDate Format Conversion
General and Desktop
4
Posts
2
Posters
2.0k
Views
1
Watching
-
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