I have a problem with QDateTime, everytime i use it, and go into debugger to check its' value it is always set to Thursday Oct 15 00:00:00.
i made a test and checked again to see if it was the application or not, but it seems it's a problem with qdatetime.
Does anyone know a work around or fix for this?
this is the code i am using.
QDateTime Now = QDateTime::currentDateTime();
QDate Date = QDate(2014,1,1);
QTime Time = QTime(1,1,1);
QDateTime Test = QDateTime(Date,Time);
To copy to clipboard, switch view to plain text mode
Bookmarks