5 Replies Latest reply on Jul 25, 2013 1:03 PM by justin_at_adobe

    How to create a query in for lastModifiedDate in Query Builder

    HarishDv Level 1

      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