Date: Format

action_date_format · action · Utility · Available · v1.0.0

Description

Format a date as a string in your locale. Input: ISO timestamp ("2026-05-23T..."), Date object, "23/05/2026" string. Output: formatted string + split components (day, month, year, weekday).

⚙️ Configuration parameters

Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.

FieldTypeRequiredDefaultDescription
input
Data sorgente
expressionyes
{{$node.trigger.json.date}}
Espressione che ritorna una data. Accettato: ISO 8601 ("2026-05-23T10:30:00Z"), formato italiano ("23/05/2026", "23-05-2026"), Date object, o stringa "now" per data corrente.
preset
Formato di output
enum
it_longit_shortit_isous_shortiso8601unixcustom
noit_long• it_long: "venerdì 23 maggio 2026" (per email/messaggi formali) • it_short: "23/05/2026" (compatto, scontrini, tabelle) • it_iso: "23-05-2026" (Excel-friendly, ordinabile come stringa) • us_short: "5/23/2026" • iso8601: "2026-05-23T10:30:00.000Z" (interoperabilità) • unix: 1748996400 (epoch seconds, per chiavi/timestamp) • custom: usa il campo "Formato custom" sotto (specifica yyyy-MM-dd HH:mm:ss)
customFormat
Formato custom (solo se preset=custom)
expressionno
yyyy-MM-dd HH:mm
Token: yyyy (anno 4 cifre), yy (2 cifre), MM (mese 01-12), MMM (gen-dic IT), MMMM (gennaio-dicembre IT), dd (giorno), HH (ora 24), hh (ora 12), mm (min), ss (sec), EEEE (lun-dom IT). Esempio: "EEEE dd MMMM yyyy" → "venerdì 23 maggio 2026".
timezone
Fuso orario (opzionale)
expressionnoEurope/Rome
Europe/Rome
IANA tz database. Default Europe/Rome (gestisce ora legale automaticamente). Altri: UTC, America/New_York, Asia/Tokyo. Se l'input è ISO con offset, viene convertito a questo TZ prima del formatting.

⬆️ Node output

Fields available to downstream nodes via $node.<alias>.json.<field>:

  • formatted
  • iso
  • unix
  • year
  • month
  • day
  • weekday
  • hour
  • minute

💡 Configuration example

JSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.

{
  "id": "node-action_date_format-1",
  "defId": "action_date_format",
  "label": "Date: Format",
  "config": {
    "input": "{{$node.trigger.json.date}}",
    "preset": "it_long",
    "timezone": "Europe/Rome"
  }
}

🔗 Related nodes in the same category

Ready to use Date: Format?

Available now on all FlowForge plans. Try it free without a credit card.

Start freeBrowse all nodes