System time not updating
For example, the resolution of create time on FAT is 10 milliseconds, while write time has a resolution of 2 seconds and access time has a resolution of 1 day, so it is really the access date.
The NTFS file system delays updates to the last access time for a file by up to 1 hour after the last access.
The function compares two file times and returns a value that indicates which time is later or returns 0 (zero) if the times are equal.
And I manually update the date and time in my bios and save it. But when I unplugged my computer to the AC outlet, and a couple of minutes, I plug it again and start the pc, my bios never save my date and time. What the cause of this,i've change cmos battery about 3 times.
You can also retrieve file times using the Find First File and Find Next File functions.
These functions copy the file times to FILETIME structures in a WIN32_FIND_DATA structure.
File Time To System Time converts the file time and copies the month, day, year, and time of day from the file time to a SYSTEMTIME structure.
The date and time stamps of files that are located on or originate from media using Compact Disc File System (CDFS) are adjusted for the local time zone.
For example, a file that is saved at pm PST in Washington is seen as pm EST in New York on an NTFS volume, but it is seen as pm EST in New York on a FAT volume.