3 Replies Latest reply on Nov 14, 2019 10:36 PM by Ilyas Shaikh

    Need to set a variable to end of week Friday

    Stacy Hill-Sanders
      Share This:

      I need to pass as PARM1 the end of the week Friday's date in the following format:

      $PARM1=YYYYMMDD ----------------------(week ending Friday date)


      How do I calculate the Friday's date if the job runs, let's say, on a Monday?