AcademyWorkflowsProductivity

Working with Dates and Times in n8n

Operations and automation teams that build n8n workflows and need to format or calculate dates.

  • Recommendedour rating
  • 70,600views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

working-with-dates-and-times.json

Loading the file...

What it does

An n8n template that shows how to handle dates and times inside a workflow. It covers changing a date format, setting custom dates such as now and today, and doing date math.

Use cases

  1. 01Change a date to the format another tool expects
  2. 02Set today's date in a workflow field
  3. 03Add or subtract days from a date

Questions about
Working with Dates and Times in n8n.

What is Working with Dates and Times in n8n used for?

Operations and automation teams that build n8n workflows and need to format or calculate dates. An n8n template that shows how to handle dates and times inside a workflow. It covers changing a date format, setting custom dates such as now and today, and doing date math.

How do I import Working with Dates and Times in n8n into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Working with Dates and Times in n8n safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.