# Date Calculator

Calculate dates by adding or subtracting time periods (seconds, minutes, hours, days, weeks, months). Returns timestamp, ISO date, Unix timestamp, and human-readable date. Leave baseDate empty to use current time. Perfect for temporary bans, reminders, expiration dates. **Works seamlessly with Date Picker, Time Picker, and DateTime Picker nodes** - connect their output to baseDate field.

## Plan availability

| Feature | Free | Starter | Pro | Enterprise |
| --- | --- | --- | --- | --- |
| Active workflows | 3 | 10 | 45 | Unlimited |

Allowances follow the [published Chatigram pricing page](https://chatigram.com/pricing/). Your organization’s Billing & Plans screen confirms its subscription and current usage. Plans can change. Plan information reviewed 2026-11-10.


## When to use this node

Calculate dates by adding or subtracting time periods (seconds, minutes, hours, days, weeks, months). Returns timestamp, ISO date, Unix timestamp, and human-readable date. Leave baseDate empty to use current time. Perfect for temporary bans, reminders, expiration dates. **Works seamlessly with Date Picker, Time Picker, and DateTime Picker nodes** - connect their output to baseDate field.

Add **Date Calculator** to a workflow branch using the node picker. Configure its fields in the inspector, then connect the next step.

## Configure the fields

| Field | What to enter |
| --- | --- |
| **Base Date (optional)** | Starting date/time. Can be:<br>• Empty (uses current time)<br>• Output from Date Picker node (ISO format)<br>• Output from DateTime Picker node (ISO format)<br>• ISO date: '2024-01-15T10:30:00Z'<br>• Unix timestamp: '1705318200' or '1705318200000'<br>• Any valid date string (DD/MM/YYYY, YYYY-MM-DD, etc.)<br><br>💡 TIP: Connect Date Picker or DateTime Picker output directly here!<br>Example workflow: Date Picker → Date Calculator (add 7 days) → Use result<br><br>Leave empty for most use cases (add time to now) |
| **Operation (optional)** | Action: 'add' (default) or 'subtract'. Example: operation=add, hours=24 → tomorrow<br>Choices: `add`, `subtract`.<br>Example/default shown in the editor: `add`. |
| **Seconds (optional)** | Number of seconds to add/subtract. Example: 30 for 30 seconds |
| **Minutes (optional)** | Number of minutes to add/subtract. Example: 15 for 15 minutes |
| **Hours (optional)** | Number of hours to add/subtract. Example: 24 for 1 day, 2 for 2 hours |
| **Days (optional)** | Number of days to add/subtract. Example: 7 for 1 week, 1 for tomorrow |
| **Weeks (optional)** | Number of weeks to add/subtract. Example: 1 for 1 week, 2 for 2 weeks |
| **Months (optional)** | Number of months to add/subtract (handles variable month lengths). Example: 1 for next month |

## Use the result

Choose the output from the variable picker in a later step. Output names below identify the values supplied by this node; the picker inserts the correct reference for your node instance.

| Output | Meaning / label |
| --- | --- |
| `timestamp` | Timestamp (milliseconds) |
| `unixTimestamp` | Unix Timestamp (seconds) |
| `isoDate` | ISO Date (YYYY-MM-DDTHH:mm:ss.sssZ) |
| `humanDate` | Human-Readable Date |
| `success` | Success (true/false) |
| `error` | Error Message (if any) |

## Connect the next step

Connect the continuation shown on the canvas. Some nodes calculate their branches from the configured options. Read each branch label in the editor and connect the paths your workflow needs.

## Test it in a workflow

1. Configure this node with a small, recognizable test input or a test resource.
2. Check the variables from preceding steps and the connection selected in the inspector.
3. Save the workflow. For event-driven flows, generate the actual event; use **Run** only for a Manual workflow.
4. Open **Workflow Activity** and check the outcome before enabling wider use.

## If something goes wrong

- Check empty variables, selected resource IDs, and any fields that appeared after resource selection.
- Check the failed step in Workflow Activity before retrying. If the action may already have completed, inspect the destination first to avoid duplicates.
- Follow the [troubleshooting guide](/help/troubleshooting/) for a symptom-by-symptom checklist.

## Related guides

- [Work with variables](/workflows/variables/)
- [Understand branches and error handling](/workflows/branches/)
- [Browse all nodes](/reference/nodes/)
- [Date Picker](/nodes/date-picker/)


## Catalog coverage

This is the currently documented selection. Chatigram continues to add nodes, triggers, App Connections, and integrations. Use each page’s review date and the current application selectors to check what is available now; this catalog is not a fixed limit on future features.
