Date ISO Formatter Data Hook®

To add a Data Hook, click the Data Hooks tab and follow our Data Hooks guide.

Date ISO Formatter Example

The Data Hook below shows one way to reformat dates not in an ISO format into dates in an ISO format. The JavaScript should work as-is, and you can even copy and paste it into your own list of Data Hooks in your data template.

Sample Data Template

Since all Data Hooks must be attached to a data template, feel free to use the sample data template (and sample data) below to test out the Data Hook above.

Sample Dataset

Feel free to use our date ISO sample data to see the Data Hook in action.