SubtractDurationFromDateTime

This task subtracts or decrements Duration from the DateTime value.

Table 1. Input Properties
Property Type Description
DateTime DateTime The DateTime variable that the Duration will be subtracted from.
Duration Duration

The Duration variable to be subtracted from the DateTime variable.

  • If DateTime is null, then returns null.
  • If Duration is null, then returns DateTime.