RPE / RTC - Format Date variable for use in Native RTC Filter (6.0.6.1)
Hi,
I want to set a variable with the date + 2 weeks and store it in the format that can be used in a native filter in RPE/RTC.
The native filter requires a date format like below:
workitem/workItem[modified > 2010-12-07T10:10:53.000-0500]/(id|summary)
Which Javascript function will allow me to format my date this way without typing the date in manually?
I.e. I want to replace 2010-12-07T10:10:53.000-0500 with ${dateFilter}
Te below returns the wrong format...
var dateFilter = new Date(Date.now() + 12096e5);
dateFilter;
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 29 '22, 10:33 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 29 '22, 10:43 a.m.