dateTimeRanges


dateTimeRangesdateTimeRangeInfo

Sets or gets a list of dates and times that a site visitor can select.

Setting the dateTimeRanges property sets a list of dates and times that can be selected from the appointment field's date and time picker elements. Times can be specified for any timezone and are displayed according to the value in the timezone dropdown.

Getting the dateTimeRanges property returns the list of dates and times that were set for the appointment field. The returned dates and times are according to the browser's locale and timezone.

Note: Setting dateTimeRanges overrides the settings panel in the editor for enabled times and enabled date ranges. Dates that have been disabled in the editor are not overridden.

Was this helpful?
Yes
No