Description
Complete date/time node in pure JavaScript (Date + Intl) with NATIVE timezone and Italian-locale support: now, format, parse, add/subtract and diff — solving automation pain #1: dates without timezone mistakes.
action_datetime · action · Data & Transform · Available · v1.0.0
Complete date/time node in pure JavaScript (Date + Intl) with NATIVE timezone and Italian-locale support: now, format, parse, add/subtract and diff — solving automation pain #1: dates without timezone mistakes.
Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
operationOperazione | enumnowformataddsubtractdiff | yes | format | now = adesso · format = formatta · add/subtract = sposta · diff = differenza tra due date. |
dateData | expression | no | inputISO, epoch, "now" o input | La data di partenza (ISO, epoch sec/ms, o "now"). Vuoto = usa l'input del nodo. |
dateBSeconda data | expression | no | now | La data di confronto per DIFF (differenza = secondaData − data). |
presetFormato | enumdatetimedatetimefullisorelative | no | datetime | Come formattare. "relative" = "3 ore fa" · "iso" = 8601 · gli altri rispettano locale+timezone. |
timezoneFuso orario | timezone-picker | no | Europe/Rome | Fuso IANA per la formattazione (es. Europe/Rome). |
localeLingua | enumit-ITen-USen-GBde-DEfr-FRes-ES | no | it-IT | Lingua per nomi di mese/giorno e formato relativo. |
amountQuantità | number | no | 1 | Quante unità aggiungere/sottrarre. |
unitUnità | enumsecondsminuteshoursdaysweeksmonthsyears | no | days | Unità di tempo per add/subtract/diff. |
Fields available to downstream nodes via $node.<alias>.json.<field>:
defaultJSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.
{
"id": "node-action_datetime-1",
"defId": "action_datetime",
"label": "Date/Time",
"config": {
"operation": "format",
"date": "input",
"dateB": "now",
"preset": "datetime",
"timezone": "Europe/Rome",
"locale": "it-IT",
"amount": 1,
"unit": "days"
}
}Available now on all FlowForge plans. Try it free without a credit card.
Start freeBrowse all nodes