I have a QT program that has been functioning properly in Windows for a few months, but recently (after the DST shift maybe?) started acting strangely. I have the following function:

Qt Code:
  1. QDateTime frmMain::GetLocalStamp( QString sFilename, bool *pbSuccess ) {
  2. QDateTime obStamp;
  3.  
  4. QFileInfo obFileInfo(sFilename);
  5. if (!obFileInfo.exists() ) {
  6. qDebug() << "File " << sFilename << " does not exist, no local stamp";
  7. *pbSuccess = false;
  8. return( obStamp );
  9. }
  10.  
  11. //qDebug() << "Checking local stamp on " << sFilename;
  12.  
  13. obStamp = obFileInfo.lastModified();
  14.  
  15. *pbSuccess = true;
  16. return( obStamp );
  17. } //GetLocalStamp
To copy to clipboard, switch view to plain text mode 

If I qDebug() the returned QDateTime object, it is one hour off from the time the Operating system reports. Is this a known issue, or is there some step I am missing?