to get the current date is nlapiDateToString(new D...
# suitescript
f
to get the current date is nlapiDateToString(new Date())