From my research, exFAT has a 2-second resolution for the last modified date/time of files. Also, there is another field for the file storing the offset to the last modified date/time with a 10-millisecond resolution. Am I correct about this?
When I display file properties in Windows Explorer, or use QFileInfo::lastModified()
(from the Qt framework) to analyze the file, both methods only display the last modified date/time down to a 2-second resolution.
If I am correct about the above, how do I access the more precise timestamp using Qt, or the Win32 API, or Windows Explorer?
According to FAT32 and exFAT, which file timestamps are supported? :
Timestamp granularity of 10 ms for Create and Modified times (down from 2 s of FAT, but not as fine as NTFS's 100 ns)
Timestamp granularity for Last Access time to double seconds (FAT had date only).
Do you HAVE to use lastModified
? Does Qt expose two other fields?
Note: that "double seconds" granularity matches your observed "divisible by 2000 msecs"
Here 's the response from a Microsoft rep for what it's worth.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.