mktime and daylight saving

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marcus

    mktime and daylight saving

    Hello,

    Is mktime() dependent on PHP or the server's OS? I just read that
    starting next year, the time switches for daylight saving time will be
    "on the second Sunday of March and end the first Sunday of November"
    instead of the current setup.

    Date calculator. Most of the United States begins Daylight Saving Time at 2:00 a.m. on the second Sunday in March and reverts to standard time on the first Sunday in November. In the U.S., each time zone switches at a different time. In the European Union, Summer Time begins and ends at 1:00 a.m. Universal Time (Greenwich Mean Time). It begins the last Sunday in March and ends the last Sunday in October. In the EU, all time zones change at the same moment.


    I am worried because my application deals a lot with Unix timestamps,
    and I'm not sure how this change would affect everything.

    I tested the new date for daylight saving on March 11, 2007 on Windows
    XP and it was not correct - it is still reporting the first Sunday in
    April as the date of the switch. I am not sure about Unix, as I have
    not tested it. Additionally, I am using php 4.3.10, so if it is in fact
    PHP version dependent, I'm not sure what I can do without upgrading.

    Thanks for all your help.
Working...