Edit this page

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"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article