4 Replies Latest reply on Jan 31, 2007 6:30 AM by Newsgroup_User

    setMinutes Method Of Date Class

    AwesomeDigital
      I want to set the minutes of a date with this code, but it does not work, why?

      var testDate:Date;
      testDate = Date();
      trace(testDate);
      testDate.setMinutes(5,0,0)
      trace(testDate);

      Thanks
      Mathias