How to check and extract the most recent date and time

Hi,

  1. Convert your strings to DateTime format and put them in an array or a list.
  2. Create a variable representing your most recent date.
  3. Use For Each to loop through your DateTime values.
  4. If the current DateTime value is more recent than your most-recent-date-variable, assign its value to your most-recent-date-variable.
  5. Done! You looked at all your DateTime values and received your most-recent-date-value in your variable.

Cheers, Lukas

3 Likes