How can I format timestamps?
Elisa Dinsmore avatar
Written by Elisa Dinsmore
Updated over a week ago

This article is for Flatfile's Portal 2.0, Portal 3.0, and Workspaces. If you'd like to check out the latest version of the Flatfile Data Exchange Platform, click here!

Record hooks in Portal 2.0 and Data Hooks® in Portal 3.0 can be used to format a timestamp field into whatever format you like. We recommend using an existing date format library (like date-fns) to do this, but you can use whatever timestamp format you like.

The full documentation for Record Hooks - as well as other Data Hooks® for Portal 2.0 - can be found here.

Documentation for Data Hooks® for Portal 3.0 can be found here.

Did this answer your question?