Ok if I click on properties of a file it shows me the date that file was last modified, does anyone know how to get that date?
Printable View
Ok if I click on properties of a file it shows me the date that file was last modified, does anyone know how to get that date?
the file handle comes from CreateFile or OpenFile. The times are in the FILETIME structure.Code:BOOL GetFileTime(
HANDLE hFile, // handle to file
LPFILETIME lpCreationTime, // creation time
LPFILETIME lpLastAccessTime, // last access time
LPFILETIME lpLastWriteTime // last write time
);