I am looking for some advice of how to deal with day light savings. I currently store my time stamps as UNIX stamps, which seems to be a problem after the change over as the stamp is interpretted with an addional hour added to it.

Could anyone suggest some solutions for an easy change over that could be done that would interpret these stamps correctly?

eg.

Thu 03/30/2006 08:00
Fri 03/31/2006 08:00
Sat 04/01/2006 08:00
Sun 04/02/2006 09:00
Mon 04/03/2006 09:00
Tue 04/04/2006 09:00

    i don't quite undertsand the question. if your server is DST aware then it will shift the time for you. you can always add/subtract as needed. if you wish to format your unix timetsamps then use [man]date[/man].

      devinemke wrote:

      i don't quite undertsand the question. if your server is DST aware then it will shift the time for you. you can always add/subtract as needed. if you wish to format your unix timetsamps then use [man]date[/man].

      I guess my question is if there is a way to offset a script based if DST. If a record is created today for sometime after DST begins (April 2, 2006), when viewing that time stamp now, shows an additional hour added to it (as seen above).

      Recently when we went from DST to EST, all of our records that occured after DST ended, were 1 hour behind. Is this a coding error or does it seem like a server error?

        Write a Reply...