Below is eScript which will get the today's date: var CurrentDate, DateStart, MM, DD, YYYY; if (DateStart == "") { CurrentDate = new Date; //above line will get the date in "Tue Aug 10 2021 13:30:45" format. DD = CurrentDate.getDate(); MM = (CurrentDate.getMonth() + 1); YYYY = CurrentDate.getFullYear(); DateStart = ToNumber(MM) + "/" + ToNumber(DD) + "/" + ToNumber(YYYY); }