3 Replies Latest reply on Nov 14, 2007 2:10 PM by Greg Dove

    Todays date plus a set number of days

      I know I'm just having a brain fart here, this has got to be easier than I'm making it.

      Essentially, I have a variable bit of text that I need to display todays date + 10 days.

      Getting todays date and formatting it are simple I know:

      var today_date:Date = new Date();

      // place date into US date format
      var date_str:String = (today_date.getMonth()+1)+"/"+(today_date.getDate()+"/"+today_date.getFullYear());

      // display current date

      The problem lies in making todays date plus 10 days..... any ideas anyone?

      ~Chuck Moulton