I want to query Alfresco through the CMIS query interface. I can not find any documentation on how to query with a condition on a dynamic date, e.g. today.
I want to retrieve changes within the last 24 hours. So what I am looking for is an equivalent to the SQL NOW.
E.g.
SELECT * FROM cmis:document WHERE cmis:lastModificationDate >= NOW() - 1 DAY
Is this possible?
AFAICS there’s nothing in the spec about such a feature. You need to calculate dynamic datetime values as part of the logic that builds the query, then translate it into a literal: