In processflow, we need the last day of current month.
This last day of month value will be used in batch pgm parm date, i.e. BN100, Thru-Date=20190831
Has anyone does this before? Is there an Infor PF date function that can do this?
// current date jsDate = today(); // set month to the next month jsDate.setMonth(jsDate.getMonth() + 1); // set day to the first jsDate.setDate(1); //subtract one day endOfCurrentMonth = AddDay(jsDate,-1);