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

CreateTimeSpan

Create Time Span

  • It takes the required date parameters as input and returns a TimeSpan value.

 Properties

       Common

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

      Misc

  • Days (InArgument<Double>) – Accepts a Int32 value.
  • Hour (InArgument< Double >) – Accepts a Int32 value.
  • Minute(InArgument< Double >) – Accepts a Int32 value.
  • Second (InArgument< Double >) – Accepts a Int32 value.
  • Result (Out Argument<TimeSpan>) – returns TimeSpan
  • Private (Boolean) – If selected, the values of variables and arguments are no longer logged at Verbose level.

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 Create Time Span activity. Enter the input parameters and take output in the result