1 Reply Latest reply on Sep 15, 2008 2:02 AM by nikos101

    How to get date 7 days in the past

    nikos101 Level 2
      Is this the best way to select a date 7 days in the past?

      var max:Date = new Date();//current date is our max from which we will calculate the min
      var min:Date = new Date(max.fullYear,max.month,max.date - 7);