1.取今年:toRelativeYearNum(now())

2.去年:toRelativeYearNum(now()) - 1

3.转字符串:toString()

4.转int:toInt64()

5.时间格式化:formatDateTime(day_id,'%Y-%m-%d')

更多推荐