如果给定的日期或日期时间介于现在和现在之间 — 增量年,则返回true。
日期
inLastYears(<dateTime>,<delta>)
inLastYears(<dateTime>,<integer>)
返回布尔值。
inLastYears(toDateTime('2010-12-12T01:11:00Z'), 4)
返回真。