获取服务器时间,规定格式,转换成时间戳
model.addAttribute("date", DateUtils.format(new Date(), "yyyy-MM-dd HH:mm"));

页面 ${date} 显示