Pricing Blog

Timestamp to ISO 8601

  • xioteer-1253645029751390219

    Xioteer

    1 year ago

    I am trying to turn the timestamp into the iso format. I need it for some api calls.

    Looking at the documentation for formatting date time, it does not look like the function allows an easy method. Will I have to convert it manually?
  • max.kayr-1253673885724049408

    Max

    1 year ago

    I think that the "Format Date" node uses Intl.DateTimeFormat under the hood. And this does not support ISO conversion. I think the easiest way to do this is to create a custom formula. In there you can use the standard JS date functions like toISOString()
  • xioteer-1255169599716986980

    Xioteer

    1 year ago

    @Max I will try to figure it out! Thanks for the pointer