1. Home
  2. Docs
  3. Microsoft Expressions
  4. GetElapsedDays

GetElapsedDays

Get Elapsed Days

  • Total time elapsed between two Dates. It gives output in Int32 form.

Properties

      Common

  • DisplayName (String) – The display name of the activity.

       Misc

  • Start (InArgument<DateTime>) – The starting input DateTime value.
  • Result (OutArgument<Int32>) – Returns a Int32 variable.
  • End (InArgument<DateTime>) – The ending input DateTime value.
  • ExcludedWeekends (InArgument<Boolean>) – Takes Boolean variable which if true skips the weekends in counting the days elapsed.
  • ExcludedDates (InArgument<IEnumerable<DateTime>>) – Can pass a collection containing dates to be excluded in counting the days elapsed.

Example

  • Create a new Process and then click on Manage Packages. Now search for Activities.Expressions  in search bar. Install this package and click Save.
  • Then create a Sequence and inside it call Get Elapsed Days activity. Enter the given inputs,parameters and take output in the result parameter.