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

SubtractFromDate

Subtract From Date

  • It takes the required DateTime parameters as input and subtracts it from input DateTime value and returns a DateTime value.

 Properties

       Common

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

       Misc

  • Days (InArgument<Int32>)- Accepts a Int32 value.
  • Hour (InArgument<Int32>)- Accepts a Int32 value.
  • Kind (InArgument<Int32>)- Accepts a Int32 value.
  • Minute (InArgument<Int32>)- Accepts a Int32 value.
  • Month (InArgument<Int32>)- Accepts a Int32 value.
  • Second (InArgument<Int32>)- Accepts a Int32 value.
  • Year (InArgument<Int32>)- Accepts a Int32 value.
  • Result (Out Argument<DateTime>)- Returns a DateTime value.
  • 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 Subtract From Date Enter the input parameters and take the output in result.