Edit this page

format String(default: "M/d/yyyy h:mm tt")

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

Example - specify a custom date format

<input id="datetimepicker" />
    format: "yyyy/MM/dd hh:mm tt"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article