Subtract date Version 6 (Python)
Action group: Dates convertion
Description
The action subtracts one date from another
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Date | Date to subtract from (Decrease) | Robin.DateTime | Yes | |
Subtract date | The date to be subtracted from the «Date» field (subtracted) | Robin.DateTime | Yes | |
Return type | Select the type of result. The result of subtraction can be obtained in: days, hours, minutes, seconds, ticks | Robin.String | No | |
Results | ||||
Result | Result | Robin.Numeric |
Special conditions of use
None.
Example of use
Task
Get the difference in days between the dates 05.09.2022 and 16.06.2020.
Solution
Use the "Subtract date" action.
Implementation
- Set the "Subtract date" action parameters.
- Click "Start" in the top panel.
Result
The program robot completed successfully. The difference in days between the dates was obtained.
Обзор
Инструменты контента