How can I retrieve the milliseconds and the timezone from a Postgresql timestamp stored in a QDateTime object?
If I do select now() from a Postgres database and introspect the QDateTime object returned (by using qDebug() to print it) I can see the value up to the seconds but not beyond that. How can I extract the milliseconds and timestamp from the object?
Aucun commentaire:
Enregistrer un commentaire