6 Replies Latest reply on Jul 7, 2011 5:40 AM by sunnydyz

    why is timezone specific information ignored in dateTimePattern?

    sunnydyz

      var df:DateTimeFormatter = new DateTimeFormatter();
      df.dateTimePattern = "yyyy/MM/dd HH:mm:ss Z";
      var formattedDate:String = df.format(new Date(2011, 6, 7));

      value of formattedDate is "2011/07/07 00:00:00 ". what am i doing wrong? cannot format nothing timezone specific? i'm getting crazy about this... help is appreciated a lot