Script that gives today's date

Below is the script that gives today’s date

:arrow_down:

var d = new Date();
var month = d.getMonth()+1;
if (month<10) {
month = '0' + month;
}
var day = d.getDate();
if (day<10)
{
day = '0' + day;
}
var date = day+"."+month+"."+d.getFullYear();
execution.setVariable("date",date);