Einzelnen Beitrag anzeigen

ele

Registriert seit: 18. Feb 2009
129 Beiträge
 
Delphi 2010 Professional
 
#3

AW: Änderungsdatum von Datei Millisekunden

  Alt 24. Feb 2011, 12:58
Man kann, aber das Ergebnis ist wahrscheinlich nicht so exakt wie du das gerne hättest. Aus dem MSDN-Artikel für GetFileTime():

Zitat von http://msdn.microsoft.com/en-us/library/ms724320(v=vs.85).aspx:
Not all file systems can record creation and last access times and not all file systems record them in the same manner. For example, on FAT, create time has a resolution of 10 milliseconds, write time has a resolution of 2 seconds, and access time has a resolution of 1 day (really, the access date). Therefore, the GetFileTime function may not return the same file time information set using the SetFileTime function.

NTFS delays updates to the last access time for a file by up to one hour after the last access. NTFS also permits last access time updates to be disabled. Last access time is not updated on NTFS volumes by default.
  Mit Zitat antworten Zitat