For the managed package runtime, Date/Time properties are configurable from the Properties panel when you select a Date/Time element. With the Date/Time element, enable users to select a date from a date picker and a time from a dropdown list in your Omniscript.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
|
Property |
Description |
|---|---|
|
Date Format |
Specifies the format to display the date. For example, if the format is MM-DD-YYYY, and the user selects January 3, 2020 from the date picker, the date displays as 01-03-2020. For more format options, visit https://day.js.org/docs/en/parse/string-format. |
|
Maximum Date |
The latest date the user can select from the date picker. The format must be the same as in the Date Format field. For example, to set the maximum date to December 31, 2019, if the Date Format is MM-DD-YYYY, you must enter 12-31-2019. |
|
Minimum Date |
The earliest date the user can select from the date picker. The format must be the same as in the Date Format field. For example, to set the minimum date to January 1, 1950, if the Date Format is MM-DD-YYYY, you must enter 01-01-1950. |
|
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. |
|
Time Zone |
Specifies the timezone the date and time should be based. Select Local Timezone to use the timezone of the browser. Select User Timezone to use the timezone set in the logged-in user's profile. |