Hi, how do I return the earliest DateTime from a List of DateTime objects?
Hi @DEATHFISH sort it. it may help you
Any sample code? Thanks
Hi @DEATHFISH,
Check this xaml, it may help you to understand the logic.
ListDateTimeSort.xaml (6.2 KB)
Hello @DEATHFISH
You can do this using OrderBy Method
Assign this code to a String type variable using Assign Activity
(YourListVariable.OrderBy(Function(n) n).First).ToString
2 Likes