Skip to main content

valueFormat

defines the format of the value to be applied when working with TimePicker events

valueFormat?: "string" | "timeObject";

Example

var timepicker = new dhx.Timepicker("timepicker", {    value: "06:00",    timeFormat: 24,    valueFormat: "string"});
// orvar timepicker = new dhx.Timepicker("timepicker", {    value: {hour: 6, minute: 0, AM: true},    timeFormat: 12,    valueFormat: "timeObject"});

Change log:

added in v7.0