String date="${__javaScript((new Date()).getFullYear()+'-'+((new Date()).getMonth()+1)+'-'+(new Date()).getDate(),)}";
log.info("获取当前日期:"+date);
String date1="${__javaScript((new Date()).getFullYear()+'-'+((new Date()).getMonth()+1)+'-'+(new Date()).getDate(),storageTheDate)}";
String date2="${storageTheDate}";
log.info("获取存储在变量中的日期:"+date2);
String year="${__javaScript((new Date()).getFullYear(),)}";
log.info("获取年:"+year);
String month="${__javaScript(((new Date()).getMonth()+1),)}";
log.info("获取月:"+month);
String day="${__javaScript((new Date()).getDate(),)}";
log.info("获取日:"+day);