×

Formatters

Omni Automation scripts and plug-ins often require the translation of data to be displayed as text and vice versa. For example, an instance of the JavaScript Date class may need to be presented to the user in an easy-to-understand text format, such as: "August 8, 2021 at 1:42 PM"

Omni Automation includes three integrated Formatter classes that can be used in scripts or plug-ins targeting any of the Omni applications: