Skip to main content
2 of 2
deleted 26 characters in body
Hiren Kaku
  • 3.7k
  • 2
  • 16
  • 30

You can use ItemLastPublishedDateCriteria criteria to specify the last published date filter that you are looking for, for retrieving the pages that were published after specific date.

Given below is the sample code to achieve the same.

var itemTypeCriteria = new ItemTypeCriteria(64);

var lastPublishedCriteria = new ItemLastPublishedDateCriteria(<specify date>)

Criteria criteria =  CriteriaFactory.And(itemTypeCriteria, lastPublishedCriteria);

var pages = new Query(criteria );
Hiren Kaku
  • 3.7k
  • 2
  • 16
  • 30