Format Timestamp V2

This node allows you to format a timestamp following a selected pattern.

What is a timestamp?

It’s a date & time readable by computers, it represents the number of seconds that have elapsed since January 1, 1970, at midnight.

This node will format a timestamp into a human readable date following the pattern of your choice.

Example

In the example bellow the current timestamp 1675682766 will be returned as: "02/06/2023

Notion image

Input Fields

field
schema
explanation
timestamp
timestamp
Select a timestamp or relay timestamp node data.
pattern
string
The pattern with directives you use to format the timestamp eg(%m/%d/%Y)

Output Fields

field
schema
explanation
date_time
string
String with the date & time following the selected pattern.
Did this answer your question?
😞
😐
🤩

Last updated on February 6, 2023