Hi,
Using something like:
Qt Code:
  1. qDebug() << QString::number( QDateTime(QDate(11,3,9),QTime(13,59,30).toTime_t() );
To copy to clipboard, switch view to plain text mode 
looks nothing like a QDateTime::currentDateTime().toTime_t(), and when trying to convert it back to a QDateTime, does not retrieve the correct information. What am I doing wrong?