Time Properties (Managed Package)

For the managed package runtime, time properties are configurable from the Properties panel when you select a Time element. With the Time element, enable users to select a time from a dropdown list in your Omniscript.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

Property

Description

Data Type

Specifies how to display the time in the Data JSON. If set to String, the Model Time Format is applied. String is the default data type. If set to Date, the time is encoded as an ISO 8601 time.

Maximum Time

The latest time the user can select. The format entered must be the same as in the Time Format field. For example, to set the maximum time to 8pm, if the Time Format is hh:mm a, you must enter 08:00 pm.

Minimum Time

The earliest time the user can select. The format entered must be the same as in the Time Format field. For example, to set the minimum time to midnight, if the Time Format is hh:mm a, you must enter 12:00 am.

Model Time Format

Specifies how the time is formatted in the Data JSON when Data Type is set to String. The default format is HH:mm:ss.sss'Z'. For more format options, visit https://day.js.org/docs/en/parse/string-format.

Time Format

Specifies the format to display the time. Enter h or hh for hour, m or mm for minute, s or ss for seconds, and a for am/pm. A single letter, such as h or m, has no leading zero. Remove the a to display 24 hour time. For more format options, visit https://day.js.org/docs/en/parse/string-format.

Time Interval

Specifies the intervals within an hour the user can select from the time dropdown. For example, enter 15 for 15 minute periods within the hour such as 12:00, 12:15, 12:30, 12:45, and so on.