История страницы
...
Modify date Version 7 (Python)
Группа действий: Конвертация дат
Описание действия
Данное действие предназначено для изменения указанной даты.
Иконка действия
Настройки
...
Свойство
...
Англ. наименование
...
Описание
...
Тип
...
Дата, которую необходимо изменить.
...
Количество лет, на которое будет изменено значение поля "Дата".
Положительное значение будет прибавлено. Отрицательное - вычтено.
...
Количество месяцев, на которое будет изменено значение поля "Дата".
Положительное значение будет прибавлено. Отрицательное - вычтено.
...
Количество дней, на которое будет изменено значение поля "Дата".
Положительное значение будет прибавлено. Отрицательное - вычтено.
...
Количество часов, на которое будет изменено значение поля "Дата".
Положительное значение будет прибавлено. Отрицательное - вычтено.
...
Количество минут, на которое будет изменено значение поля "Дата".
Положительное значение будет прибавлено. Отрицательное - вычтено.
...
Количество секунд, на которое будет изменено значение поля "Дата".
Положительное значение будет прибавлено. Отрицательное - вычтено.
...
Action group: Dates convertion
...
Description
The action modifies the specified date
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Date | Date to be modified | Robin.DateTime | Yes | |
Years | The 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» field | Robin.Numeric | No | |
Months | The 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» field | Robin.Numeric | No | |
Days | The 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» field | Robin.Numeric | No | |
Hours | The 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» field | Robin.Numeric | No | |
Minutes | The 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» field | Robin.Numeric | No | |
Seconds | The 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» field | Robin.Numeric | No | |
Results | ||||
Result | Result | Robin.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
- Set the "Modify date" action parameters.
- Click "Start" in the top panel.
Result
The program robot completed successfully. The new date was obtained.
...
Переменная с типом "ДатаВремя", которая будет содержать результат изменения даты.
...
Особые условия использования:
Отсутствуют.
Пример использования
Задача
Изменить дату 25.10.2022 по требуемым параметрам.
Решение
Воспользоваться действием "Изменить дату".
Реализация
- Настроить параметры для действия "Изменить дату"
- Нажать на кнопку "Старт" в верхней панели.
Результат
Программный робот отработал успешно. Получена новая дата.