Quantcast
Channel: Adobe Community : Unanswered Discussions - Digital Marketing Suite
Viewing all articles
Browse latest Browse all 937

How to create a query in for lastModifiedDate in Query Builder

$
0
0

I want to create a query to get the Dam Assets those with their lastModifiedDate that match the current date.

 

The usual lastmodified date is of the format yyyy-MM-ddThh:mm:ss etc.

 

With the current date we only have "yyyy-MM-dd"

 

I tried something like this ,

 

            map.put("path","/content/dam");

            map.put("type","dam:Asset");

            map.put("property","cq:lastModified");

            map.put("property.value","yyyy-MM-dd*"); / map.put("property.value","yyyy-MM-dd~"); / map.put("property.value","yyyy-MM-dd");

 

But i was not able to get the desired results.

 

Please suggest if there is a a way to do it if you have already tried anything similar .

 

Thanks in  advance

 

Harish


Viewing all articles
Browse latest Browse all 937

Trending Articles