← All nodes
Date

Date Parts

Adds columns holding parts of a date — its year, quarter, month name or number, ISO week, weekday, day, whether it is a weekend, hour or Unix time.

When to use it

Use it before grouping or filtering by period: sales per quarter, orders on weekends, sign-ups per ISO week.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
ColumnselectYesSelect column…
Partstext—year, month_num, day
From Formatselect—AUTO

Example

Year, quarter, month and weekday

  • Column=OrderDate
  • Parts=year, quarter, month_num, weekday
Orders
OrderOrderDate
A-12026-10-15
A-22026-10-17
One column per part
OrderOrderDateOrderDate_yearOrderDate_quarterOrderDate_month_numOrderDate_weekday
A-12026-10-152026410Thursday
A-22026-10-172026410Saturday

Worth knowing

  • Parts: year, quarter, month (name), month_num, week (ISO 8601, weeks start Monday), weekday (name), day, is_weekend (true/false), hour, unix (seconds).
  • New columns are named <column>_<part> and added at the end, in the order you list the parts.
  • Blank or unreadable dates give blank parts; set From Format when the dates are not in an auto-detected form.

Others in Date