Configure Date and Time Settings in Data Mappers

Configure the default date format within Omnistudio Data Mappers.

In Omnistudio, a date, time, or datetime field’s input is processed by using a list of predefined formats. However, if you want Omnistudio to use the date/time format associated with a user's locale, use the UserLocaleDateTime Omni Interaction Configuration setting.

  1. From Setup, enter Omni Interaction Configuration in the Quick Find box, and then select Omni Interaction Configuration.
  2. Click New Omni Interaction Configuration.
  3. For label and name, enter UserLocaleDateTime without space and without changing the case.
  4. Enter true as the value.
  5. Save your changes.

To test if the configuration works, find or create a user with a locale that uses the dd/mm/yyyy date format, for example, English (India). Then, create an Omniscript that uses a Data Mapper (Load or Extract) with a date input. Add a date in the dd/mm/yyyy format.

With the correct configuration, the Data Mapper receives the user's date, time, or datetime input as a string and parses it to a date, time, or datetime by verifying the user's locale settings.