To add one day to the current date.

Jira Code: CGA-30
This script is to set the date of phone call record to the next day.

var date = new Date(); 
var day = 60 * 60 * 24 * 1000;
var endDate = new Date(date.getTime() + day);
log.debug('endDate', endDate);

1 comment

Leave a Reply to Anju Manjooran Cancel reply

Your email address will not be published. Required fields are marked *