1 Reply Latest reply on Jul 11, 2007 4:46 AM by

    Error: GMT / TimeZone in Date()

      On my Windows XP is the current TimeZone GMT+0100 (Amsterdam, Berlin, Bern, ...).
      The code below produce a false Date object:

      var now:Date = new Date();
      trace( now ); // result: Wed Jul 11 02:06:57 GMT+0200 2007

      Setting the TimeZone on GMT+0100 (West Africa):

      var now:Date = new Date();
      trace( now ); // result: Wed Jul 11 01:14:15 GMT+0100 2007

      This is not good :-(
        • 1. Re: Error: GMT / TimeZone in Date()
          ok.
          It is not an error. We differentiate in Germany between summer time (+1 hour) and winter time (-1 hour).
          Therefore it makes sense to show in summer GMT+0200, although in windows GMT+0100 is set.
          ....but it is an ugly behaviour, if one does not remember.