Solved
Adding hours to datetime variable in javascript
I have a below code written in js activity. I need to add 1 hour to the variable currDate. How can I do that? I tried with setHour() and + operator without luck.
vars.currDate = new Date();
logInfo("vars.currDate----------" + vars.currDate);