> [...]
> I'm writing a utility that backs up files (copies them from production
> servers to backup server). Part of the routine is to compare the last
> date/time a file has been modified. So the LastWriteTime is apparently the
> one to go with - but which version? Utc or non utc?
I would use the UTC version. UTC is Coordinated Universal Time,
basically the same as Greenwich Mean Time for most purposes.
If you know that the local times will always be returned using the same
timezone, you could probably get away with using that. But UTC will
always be comparable to each other, no matter what happens to the local
time (daylight saving, time zone change).
Pete
Smithers - 26 Sep 2007 06:14 GMT
Ahhh, very good. Thank you.
>> [...]
>> I'm writing a utility that backs up files (copies them from production
[quoted text clipped - 11 lines]
>
> Pete
Michael Starberg - 26 Sep 2007 21:11 GMT
> Ahhh, very good. Thank you.
I think humankind should invent a really huge antigravity field,
hand out showels, go to work, and make the world flat.
And then we can all live in one realtime. No need for UTC =)
Just A Suggestion
- Michael Starberg
Smithers - 26 Sep 2007 23:09 GMT
What are you talking about? The world is flat. "They" gave us different time
zones to make us *think* it's not flat.
-S
>> Ahhh, very good. Thank you.
>
[quoted text clipped - 5 lines]
> Just A Suggestion
> - Michael Starberg
Michael Starberg - 27 Sep 2007 22:34 GMT
> What are you talking about? The world is flat. "They" gave us different
> time zones to make us *think* it's not flat.
>
> -S
Aah. My Bad!
I kneel corrected.
- Michael Starberg