[PyQt] How to store date in Sqlite and view it in column in QTableView?

nenad nenad.lamza at sk.t-com.hr
Mon Jun 18 10:33:16 BST 2018

Thank you, Sibylle.

I already have my date column as "text" in the database in ISO format
("yyyy-MM-dd"). But the problem is, it doesn't "just work" in QTableView,
including sorting, because I need EU date format "dd.MM.yyyy" in view and
edit (delegate), but still retain ISO format in database.

I found the solution (for anybody that has similar problem with Sqlite in

Sent from: http://python.6.x6.nabble.com/PyQt-f1792048.html

More information about the PyQt mailing list