AEM Query | Pull Articles by comparing date difference of 14 days
Hi,
We have a requirement where we need to pull out the list of articles for which the jcr:created and PublishDate (a custom field on page property) has a difference of 14days.
For example, if create Date is 16th Sept and PublishDate is 31st Aug, then this article should not come up in the list.
Whereas if create Date is 10th Sept and PublishDate(manually authored) is 31st Aug, then this article should come up in the list.
I tried using the dataRange and relativeDateRange but didn't work.
Any pointer will be helpful.
Thanks,
Shikha