I have a query that takes f.e. 5000 rows (can be two or 20.000). I want to calculate the difference between the earliest and latest date in that result. The output should be the difference in ie. minutes.
I prefferably take the result as es.Where(q => field.Contains(q.status))) who contains a specific date field that should be used in the calculation,