title: Use QFileInfo to find creation date and time
body: <p>Here's the code I have right now</p>
  
  <pre><code>/* Rename existing project files to .old */
  if (FileIOUtil::fileExists(dest, outFileName))
  {
    QFile oldFile(outFileName);
    QFileInfo fileInfo; fileInfo.setFile(oldFile);
    QDateTime created = fileInfo.lastModified();
    FileIOUtil::mvFile(dest, outFileName,
                       dest, outFileName + ".old" + created.toString());
  }
  </code></pre>
  
  <p>Note: <code>mvfile</code> works like the unix command <code>mv</code>. It just moves a file to a new name. </p>
  
  <p>However, this renames my <code>project.c</code> to <code>project.c.old.Thu Jan 1 01:00:00 1970</code>. I'm pretty sure the files I'm trying to rename aren't that old ;)</p>
  
  <p>Any ideas why I'm getting the epoch as a result?</p>