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

GetElapsedTime

Get Elapsed Time

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

Properties

      Common

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

      Misc

  • Start (InArgument<DateTime>) – The starting input DateTime value.
  • Result (OutArgument<TimeSpan>) – Returns a TimeSpan variable.
  • End (InArgument<DateTime>) – The ending input DateTime value.

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 Time Enter the Starttime, Endtime and take output in the result parameter.