拉一个文本控件,然后填入下面信息:
$S{
var curDate = new Date();
var strYear = curDate.getFullYear().toString();
var strMonth = (curDate.getMonth() + 1).toString();
var strDay = curDate.getDate().toString();
var strHour = curDate.getHours().toString();
var strMinute = curDate.getMinutes().toString();
var strSecond = curDate.getSeconds().toString();
result = strYear + "-" + strMonth + "-" + strDay + " " + strHour + ":" + strMinute + ":" + strSecond;
}