0 Replies Latest reply on Jan 10, 2009 4:37 AM by enginço

    date timezoneOffset

    enginço
      hi,
      I have a new Date() problem.

      var dateNow:Date = new Date();
      var today:Date = new Date(dateNow.fullYear, dateNow.month, dateNow.date, 0, 0, 0, 0);
      today returns -> 2009.01.10 22:00:00
      I need 2009.01.10 00:00:00

      in debug mode today.timezoneoffset = -120 and UtcHours=22

      How can I solve this problem?
      Thanx...