You are here:
Omniscripts Date/Time Element
Enable users to select a date from a date picker and a time from a list by adding the Date/Time element to your Omniscript. Set the minimum and maximum dates, and the date and time formats.
- From the elements panel, drag a Text element to the canvas.
- In the Properties panel, give the element a name in the Name field.
- In Field Label, enter a label visible to the user.
- Enter the earliest date the user can select from the date picker, such as 01-01-1950.
- Enter the latest date the user can select from the date picker, such as 12-31-2019.
- In the date format, enter 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, see Day.js.
-
Enter the format to display the time, such as hh:mm a, which
is the default.
Note
Enter h or hh for hour, m or mm for minutes, 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 example, hh:mm a displays
03:30 pm, h:mm a displays3:30 pm, and hh:mm:ss displays15:30 01. For more format options, see Day.js. -
Enter the time interval 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. The default interval is 30.
-
In the Advanced Options section, select a time zone:
- Select Local Timezone to use the time zone of the browser.
- Select User Timezone to use the time zone set in the logged-in user's profile.

