0 Replies Latest reply on May 22, 2007 8:29 AM by flyingwalter

    getTimezoneOffset got one hour ahead on linux than windows

    flyingwalter

      I'm using Date object to retrieve current local time for display. But got one hour ahead than the system time.
      For an example, I set the system time zone to Hong Kong, China. The getTimezoneOffset() return -540 on linux, but on Windows, it's -480. So, the time in flash is one hour ahead than the system time.
      I have checked that the getUTCHours() return the same result on linux and windows.

      Any Suggestions?
      thx!