如何在Freemarker文件中获得当前时间戳(自1970年1月1日以来的秒数)?我知道.now变量,但我不知道如何获得基本的时间戳格式。
.now
?long
.now?long
毫秒级别的时间,或者
${.now?long / 1000}
对于秒数