How do I get to know if a date has passed or not?

@uio,

I hope you are looking option to check the second condition.

  1. Declare a datetime variable as parameterDate
  2. Use Assing activity with this variable parameterDate and pass the value as DateTime.ParseExact(“PassToDateHere”, “dd.MM.yyyy”, CultureInfo.InvariantCulture)
  3. Declare another datetime variable as todaysDate and assign today’s date in it using Assign activity as DateTime.Today
  4. Then using a IF Activity you check like this “parameterDate < todaysDate”, then it is a past date else it is a future or current date