Hi,
I want to add 10 days to the current date in the delivery, please help me with this
//I will get current date with this script below & need to add 10 days to it (current date + 10 days)
<%= formatDate(new Date(), "%2D %2B %4Y")%>
Regards,
Raaghu
Solved! Go to Solution.
It should work with following code
<% var date = new Date(); date.setDate(date.getDate() + 10); %><%= formatDate(date, "%2D %2B %4Y")%>
It should work with following code
<% var date = new Date(); date.setDate(date.getDate() + 10); %><%= formatDate(date, "%2D %2B %4Y")%>
Hi Ramon,
It worked thanks.
Regards,
Raaghu
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies