format String(default: "h:mm tt")

Specifies the format, which is used to format the value of the TimePicker displayed in the input. The format also will be used to parse the input.

For more information on date and time formats please refer to Date Formatting.

Example - specify a custom time format

<input id="timepicker" />
    format: "HH:mm"
In this article
Not finding the help you need? Improve this article