format String(default: "M/d/yyyy")

Specifies the format, which is used to format the value of the DateRangePicker 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

<div id="daterangepicker"></div>
    format: "yyyy/MM/dd"
In this article