Editing a script

Editing a script

Greetings colleagues.
Help me figure out the script
/ * set days and hours from the current date * /
/ * Date Field * /
var fieldName = 'DUEBYDATE';
/ * you can choose the value 0 to 27 days * /
var nextDay = 2;
/ * you can choose the value 0 to 23 hours * /
var nextHour = 8;
$ CS.setDateFromCurrentDate (fieldName, nextDay, nextHour);
How can I properly configure that the date is updated from the date when the request was created, and not the hundredth day when I updated the request.
              New to ADManager Plus?

                New to ADSelfService Plus?