Can someone tell me how to create two variables in javascript? For now forget about the Oracle Format, let's just get the syntax for MMDDYYYY.
start date - Monday prior week %STARTDATE% dd-mon-yyyy
end date - Sunday prior week %ENDDATE% dd-mon-yyyy
for example: For next Monday Dec. 19,2016, it would pass in: 1 12-dec-2016 18-dec-2016
(passing in as Oracle format – dd-mon-yyyy)
There are probably many different ways to capture previous day and day -7 to build the "start" and "end" date. I'm don't know javascript well enough to figure out the most efficient.
Thanks,
Ken Ski