Get maximum date using CAML request from alist

how can i get max date and min date from date column list

+3
source share
1 answer

Brute force approach is to create two queries that will retrieve the contents of the list, sorted by asc and desc. I know this sucks, but at least you can go to the project and refine the request later.

If only top 1 could be obtained, then it could even work in the production process.

+1
source

Source: https://habr.com/ru/post/1707140/


All Articles