n8n Lab

Format Current Date as YYYY-MM-DD in n8n using Luxon

You are inserting a record into a database that strictly requires the current date in 'YYYY-MM-DD' format using n8n's built-in $now variable.

Incoming Payload / Data:

// Built-in n8n variable:
$now // Returns current DateTime object
$now.
Pro Store

Ready-to-Use Make & n8n Blueprints

Stop building from scratch. Download production-ready automation templates, AI agent workflows, and JSON packs.

Explore Blueprints Store →

Looking for another topic?

Use our interactive search drawer to filter exercises by Make.com or n8n.