n8n · Expression
$today
Use $today and Luxon DateTime methods to calculate, compare, parse, and format dates in n8n expressions. Dates passed between nodes are strings, so parse them before date arithmetic.
Last updated
Syntax
$today; DateTime.fromISO(value); DateTime.fromFormat(value, format)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
$nowDateTime.fromISO()DateTime.fromFormat()toFormat()toLocaleString()plus()minus()diff()