14 Replies Latest reply on Aug 8, 2016 2:27 PM by dave247g39278683

    why im i getting errors

    dave247g39278683

      why Am I getting errors with this code?

       

      I don't understand why!

       

      var rightNow = new Date();

      var msRightNow = rightNow.getTime();

      var fiveDays = 5 * 24 * 60 * 60 * 1000;

      var theNewDate = new Date(finalTime);

      console.println("5 days from now is: " + theNewDate.toString());