Hi All,
I have a small issue in workflow When I read date value from workflow through display target its showing correct but inside the personalPersonalization blocks date changed one-day minus. Below is my code. Please help me.
var dueDate=targetData.paymentDuedate;
var monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
var Month=monthNames[dueDate.getMonth()];
var date=dueDate.getDate();
var year=dueDate.getFullYear();
dString = date+' '+Month+' '+year;
I need output like this full month 1 May 2017 or 21 January 2017