Skip to main content

timeFormat

defines the time format for a timepicker in the calendar

timeFormat?: 24 | 12;
Default value: 24

Example

var calendar = new dhx.Calendar("calendar_container", {    timePicker: true,    timeFormat: 12});

Related sample: Calendar. Time Format

The time format can be presented either in the 12-hour or in the 24-hour format.