How to get the first and last item of a dynamic list?

I have created a list variable (type DateTime). How can i get the first and last item of that list?

Can you please share the your code ?


Suppose you are storing the DateTime in a variable items, the first item can be obtained by items(0) and last item by items(count-1), where count is assigned in a previous step as count = items.Count


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.