File Times
A file time is a 64-bit value that represents the number of 100-nanosecond
intervals that have elapsed since 12:00 A.M. January 1, 1601 Coordinated
Universal Time (UTC). The system records file times when applications
create, access, and write to files.
The NTFS file system stores time values in UTC format, so they are not
affected by changes in time zone or daylight saving time. The FAT file
system stores time values based on the local time of the computer. For
example, a file that is saved at 3:00pm PST in Washington is seen as 6:00pm
EST in New York on an NTFS volume, but it is seen as 3:00pm EST in New York
on a FAT volume.
Timestamps are updated at various times and for various reasons. The only
guarantee about a file timestamp is that the file time is correctly
reflected when the handle that makes the change is closed.
Not all file systems can record creation and last access times, and not all
file systems record them in the same manner. 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.
--
..
--
"Gene E. Bloch" <not-> wrote in message
news:...
> On Fri, 31 Jul 2009 01:37:53 -0700 (PDT), Mike C wrote:
>
>> On Jul 26, 4:48 pm, "Rick Rogers" <r...@mvps.org> wrote:
>>> Hi,
>>>
>>> Sincexcopyis deprecated, try
>>> usingrobocopy:http://technet.microsoft.com/en-us/l...45(WS.10).aspx
>>>
>>> --
>>> Best of Luck,
>>>
>>> Rick Rogers, aka "Nutcase" - Microsoft
>>> MVPhttp://mvp.support.microsoft.com/
>>> Windows help -www.rickrogers.org
>>> Vote for my shoe:http://rick-mvp.blogspot.com
>>>
>>> "MikeC" <michaelj...@hotmail.com> wrote in message
>>>
>>> news:1662249e-4fe3-419c-bdde-...
>>>
>>>>I am trying to use a batchfile to backup from a PC to a NAS. I am
>>>> using the /D switch, and the files are mostly months newer on the NAS,
>>>> but it still wants to copy them all. Anyone know why or how to
>>>> workaround this?
>>
>> I take it back that Robocopy worked. Using the /XO switch to exclude
>> older files, it still wants to copy files that have the exact
>> timestamp on them. I verified this on several files and the
>> timestamps are the same to the second. Oddly, it isn't on all files,
>> but a lot of them.
>
> I don't remember about Windows, but I recall that Unix file time stamps
> are
> recorded to the millisecond. If this is true in NTFS, two files could seem
> to have the same age while one is in fact older, when the display is only
> to the second.
>
> Now ask me whether I believe that is happening here...
>
> --
> Gene E. Bloch letters0x40blochg0x2Ecom