CanonicalTransform filter with dates


#1

Can we use filters in canonical transforms to filter on dates?

i.e. I want to say, dont load any measurements older than 3 years old (something like datetime(start) > date.now-3)


#2

The following annotation should work for your transform:
@canonicalTransform(condition="dateTime(start) > (now() - period(3,'YEAR'))")