Date & Time
Overview
The Date & Time node provides comprehensive date and time manipulation operations: current timestamp, formatting, parsing, date arithmetic, comparisons, period boundaries, business day calculations, timezone conversion, weekend/holiday detection, and relative time formatting.
Category
Utils — utils/dateTime
Operations
| Operation | Description |
|---|---|
| now | Current timestamp |
| format | Format a date using a pattern |
| parse | Parse a date string |
| diff | Calculate the difference between two dates |
| add / subtract | Add or subtract time from a date |
| compare | Compare two dates (before, after, same) |
| start_of / end_of | Get the start or end of a period (day, week, month, year) |
| business_days | Calculate business days between dates |
| timezone | Convert between timezones |
| is_weekend / is_holiday | Check if a date falls on a weekend or holiday |
| age | Calculate age from a birthdate |
| relative | Format as relative time ("2 hours ago") |
| overlap | Check if two date ranges overlap |
Inputs & Outputs
- input1 — Upstream data with date fields
- output1 — Result (calculated date, diff value, boolean, etc.)
- output2 — Compare: condition not met (for routing)