default timezone broken on windows?

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

    default timezone broken on windows?

    Hi all!

    I just noticed on windows (2003; php 5.2.5) the LOCAL timezone is set
    to UTC by default. I have never experienced this on linux before...

    I digged the manual and found this:

    """
    The timezone set using the date_default_ti mezone_set() function (if
    any)

    The TZ environment variable (if non empty)

    The date.timezone ini option (if set)

    "magical" guess (if the operating system supports it)

    If none of the above options succeeds, return UTC
    """

    The fourth line "if the operating system supports it" - well I did set
    correct timezone for my system and I'm sure it's doable to get current
    timezone from windows API ;) Yet it doesn't mention what systems are
    supported and what are not.

    Is this just me or everyone on windows has the same problem?
Working...