Convert the timestamp into ISO 8601 format

Describe the problem/error/question

Hi Team,
I want to convert the timestamp into the [ISO 8601] format.
Example: 1709707706 into 2024-03-06T15:28:26

What is the error message (if any)?

NO

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 0.234.1
  • Database (default: SQLite): PostGress
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: MAC

Hi,

n8n supports Luxon which is a JavaScript library that makes it easier to work with date and time natively and you can find more information about in here.

Hope it helps.

Thanks @samaritan
Can you please help me with the syntax?

hello @Gouravdev

Check this out

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.