thymeleaf获取当前时间并格式化输出_其他

[[${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd hh:mm:ss')}]]

<p th:text="${new java.util.Date().getTime()}"></p>