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?:
Do you HAVE to use
lastModified
? Does Qt expose two other fields?Note: that "double seconds" granularity matches your observed "divisible by 2000 msecs"