Convert Timestamp to Date

Convert a Unix Timestamp in to a human readable date string, whilst specifying the format of the returned date.

Some examples of ways in which you can format dates:

  • MMM Do YY - May 21st 21
  • MMM Do YYYY - May 21st 2021
  • MMMM Do YYYY, h:mm:ss a - May 24th 2021, 2:06:28 pm

A full list of formats can be found here: https://momentjs.com/docs/#/displaying/

Action Inputs

Name

Type

Description

Timestamp

Number

UNIX date timestamp

Format for Date Output

String

Moment Js format string. Specifies the format of the returned date

Action Outputs

Name

Type

Description

Success

Boolean

Whether or not the format was performed successfully or not

Date

String

The formatted date