Time Stamps Change When Copying From NTFS to FAT (127830)
The information in this article applies to:
- Microsoft Windows NT Server 3.1
- Microsoft Windows NT Workstation 3.1
- Microsoft Windows NT Advanced Server 3.1
- Microsoft Windows NT Workstation 3.5
- Microsoft Windows NT Workstation 4.0
- Microsoft Windows NT Server 3.5
- Microsoft Windows NT Server 4.0
This article was previously published under Q127830 SUMMARY
When you copy a file from a Windows NT file system (NTFS)
drive to a file allocation table (FAT) drive, the time stamp
changes to an even number of seconds.
MORE INFORMATION
File time stamps on FAT drives are rounded to the nearest two
seconds (even number) when the file is written to the drive. The file time
stamps on NTFS drives are rounded to the nearest 100 nanoseconds when the
file is written to the drive. Consequently, file time stamps on FAT drives
always end with an even number of seconds, while file time stamps on NTFS
drives can end with either even or odd number of seconds.
When files are copied from NTFS drives to FAT drives, some
file time stamp rounding has to occur; the file time stamp is rounded up to
the next even second.
To preserve exact NTFS file times, always copy files from
NTFS drives to other NTFS drives. If you are writing a program to compare
file times between NTFS and FAT drives, accommodate for the expected
rounding.
For example, when you compare time stamps between an original
file in NTFS and a file in FAT, which is copied from NTFS, you
will see the following:
NTFS time stamp: 7 hours 31 min 0 sec 000.
FAT time stamp becomes 7 hours 31 min 0 sec 000.
NTFS time stamp: 7 hours 31 min 0 sec 001.
FAT time stamp becomes 7 hours 31 min 2 sec 000.
NTFS time stamp: 7 hours 31 min 1 sec 000.
FAT time stamp becomes 7 hours 31 min 2 sec 000.
NTFS time stamp: 7 hours 31 min 1 sec 999.
FAT time stamp becomes 7 hours 31 min 2 sec 000.
Modification Type: | Major | Last Reviewed: | 5/6/2003 |
---|
Keywords: | KB127830 |
---|
|