valueFormat

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

string valueFormat;

Values

  • "string", "timeObject"
  • Example

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

    See also
    Change log

    added in v7.0

    Back to top