Documentation

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

NameTypeDescription
TimestampNumberUNIX date timestamp
Format for Date OutputStringMoment Js format string. Specifies the format of the returned date

Action Outputs

NameTypeDescription
SuccessBooleanWhether or not the format was performed successfully or not
DateStringThe formatted date