Re: Daylight Saving Time changes file times.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Colin (colin_at_greench.co.uk)
Date: 04/08/04


Date: Thu, 08 Apr 2004 19:49:10 +0100


"Fred Hebert" <fhebert@delete-this-part-priority.net> wrote:

>Actually I do not use the display tme, I use the UTC time
>returned by a system call. The problem is that it returns
>different results depending on wether DST is in effect or
>not. After the last DST change I changed the method
>hoping to avoid the problem, but no luck.
>
>I have another plan to fix the problem, but it goes beyond
>my software. My backup software did an incremental backup
>monday night, but because of the file time change
>everything got backed up, and the backups didn't complete
>until almost noon today.
>
>I have a mixed LAN with NT4, Win2003, Netware, Unix (SCO),
>and Linux (RedHat) servers, and only the Windows servers
>have the problem.
>
>I think that a file with a time of 4:11 on Friday should
>have a 4:11 time on Monday, that is displayed, UTC, or
>other. Yesterday I developed a routine that looks at the
>file time, and determines if it is during DST and returns
>the correct time. It really shouldn't be this difficult
>just to get an accurate file time.
>
>
>>-----Original Message-----
>>Get smarter clients - they should be synching on UTC time
>not display time. Store your files on Fat partitions (they
>only use local time).

The reason you do not get this problem with Unix is that it is done
correctly (of course). All dates and times are stored as UTC, and only
offset when displayed. Trust MS to get it wrong.
Colin.



Relevant Pages

  • Re: Daylight Saving Time changes file times.
    ... Actually I do not use the display tme, I use the UTC time ... My backup software did an incremental backup ... file time, and determines if it is during DST and returns ...
    (microsoft.public.windowsxp.general)
  • Re: MOSS 2007 Backup hangs at 50% of Shared Search Index
    ... Thought I'd post the newest issue I've had with DST. ... error reporting. ... I looked at my backup log this morning and Guess ... caused for us by the DST patch that Microsoft released for Server 2003 and ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Slow backup issue in WSS3
    ... This is not an issue isolated to one or two WSS servers, ... Only one week left before I can dump that time patch! ... I don't remember that being a problem at first on my DST ... ten minutes to do a backup. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Slow backup issue in WSS3
    ... I can have the server clock set to 1pm and the docs will stamp 2pm. ... Only one week left before I can dump that time patch! ... I don't remember that being a problem at first on my DST ... ten minutes to do a backup. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: MOSS 2007 Backup hangs at 50% of Shared Search Index
    ... I'd be surprised if this isn't a DST issue for you too. ... caused for us by the DST patch that Microsoft released for Server 2003 and ... after March 11th, our backup problems started. ... We have been releasing the backup and letting ...
    (microsoft.public.sharepoint.portalserver)