title: How to get proper file creation date of file?
body: <p>I need not last modification time and not last file accessed time, but file creation time. I have not found information about this. Maybe some libs?</p>
  
  <pre><code>Path p = Paths.get(f.getAbsoluteFile().toURI());
  BasicFileAttributes view = null;
  try {
      view = Files.getFileAttributeView(p,
                              BasicFileAttributeView.class).readAttributes();
  } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
  }
  FileTime creationTime = view.creationTime();
  </code></pre>
  
  <p>In this code creation time is not valid and return today date.</p>
  
  <p>Operation System: Windows 7
  Java: SE-1.7</p>