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.

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

Example - specify a custom date format

<input id="datetimepicker" />
    format: "yyyy/MM/dd hh:mm tt"
In this article