Question
Anthem
US
Last activity: 26 Aug 2019 8:16 EDT
How to find the shortest datetime in a pagelist
Hi All,
I need to find the shortest date in a pagelist. For example, following is my pagelist
pg(1).Date= April 10, 2019
pg(2).Date= April 25, 2019
pg(3).Date= April 5, 2019
I need to find the index of page with April 5, 2019.
Any help or direction is much appreciated.
Thanks in advance.
Thank you Sreepriya for the screenshots.
I decided to take a different route, following is what i did to solve my problem.
I sorted the page list using "Obj-Sort" on the datetime property in descending order and the 1st page has the shortest date and i am picking up both date and index from the 1st page after sorting.