Hi,

I would like to display a data from a database after some preprocessing.

I am storing some QDateTime values in the form of qint64 variables(by using toMSecsSinceEpoch() ) in the pgsql database. But when displaying the data from database , I would like to display a beautiful date-time string( by using fromMSecsSinceEpoch() )

I am simply setting the sql query model to my tableview. I couldnt figure out how and where should i convert the qint64 value to a date string to be displayed in my table view ?

Thanks in advance...