Modify date Version 7 (Python)

Action group: Dates convertion


Description

The action modifies the specified date

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
DateDate to be modifiedRobin.DateTime
Yes
YearsThe number of years to add to the Date field value. If a minus sign «-» is specified in front of the value, then the specified number of years will be subtracted from the value of the «Date» fieldRobin.Numeric
No
MonthsThe number of months to add to the Date field value. If a minus sign «-» is specified in front of the value, then the specified number of months will be subtracted from the value of the «Date» fieldRobin.Numeric
No
DaysThe number of days to add to the Date field value. If a minus sign «-» is specified before the value, then the specified number of days will be subtracted from the value of the «Date» fieldRobin.Numeric
No
HoursThe number of hours to add to the Date field value. If a minus sign «-» is specified before the value, then the specified number of hours will be subtracted from the value of the «Date» fieldRobin.Numeric
No
MinutesThe number of minutes to add to the Date field value. If a minus sign «-» is specified in front of the value, then the specified number of minutes will be subtracted from the value of the «Date» fieldRobin.Numeric
No
SecondsThe number of seconds to add to the Date field value. If a minus sign «-» is specified in front of the value, then the specified number of seconds will be subtracted from the value of the «Date» fieldRobin.Numeric
No
Results
ResultResultRobin.DateTime

Special conditions of use

None.

Example of use

Task

Modify the date 25.10.2022 to the specified parameters.

Solution

Use the "Modify date" action.

Implementation 

  1. Set the "Modify date" action parameters.
  2. Click "Start" in the top panel.

Result

The program robot completed successfully. The new date was obtained.

 

  • Нет меток