Date Calculation
Add or subtract time from a date and format the result.
Overview
Date Calculation is a no-code automation step in the Data category of AutoFlowRPA. It performs its action in a single step when the workflow reaches it. You can configure 7 parameter(s) to control exactly how it behaves. It is one of 369 commands you can drag into a workflow in the visual builder — no scripting required.
What it does
Add or subtract time from a date and format the result.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Date | string | Required | now | 'now' or a date string (ISO, or matching the input format). Example: now Supports variables |
| Operation | dropdownAdd · Subtract | Required | Add | |
| Amount | number | Required | 1 | Example: 7 Supports variables |
| Unit | dropdownseconds · minutes · hours · days · weeks | Required | days | |
| Input format | string | Optional | strptime format for the input (blank = ISO). Example: %Y-%m-%d | |
| Output format | string | Optional | %Y-%m-%d %H:%M:%S | strftime format for the result. |
| Store result in | variable | Required | Example: newDate |
How to use Date Calculation
- 1
Open AutoFlowRPA and drag the Date Calculation command from the Data group onto the canvas.
- 2
Set its parameters in the side panel — Date Calculation has 7 configurable field(s).
- 3
Connect it into your workflow and press Run. Everything executes locally on your machine.
Frequently asked questions
What does the Date Calculation command do?
Add or subtract time from a date and format the result.
Which group does the Date Calculation command belong to?
Date Calculation is part of the Data group. AutoFlowRPA ships with 369+ ready-made commands you can combine without code.
Does the Date Calculation command take any parameters?
Yes — Date Calculation has 7 configurable field(s), all editable in the visual node editor.
More Data commands
Ready to automate your busywork?
Start your free 30-day trial today. No credit card, no commitment.