How to change the date range picker's date format?
If you want to present a different format, you need to add a locale object after you run the daterangepicker function. The site doesn't currently have a list of all the formats it supports, but try this:
$(function() { $("#<%= txtName.ClientID %>").daterangepicker({ locale: { format: 'DD/MMM/YYYY' } });});
See here for more options: http://www.daterangepicker.com/#config
There was actually a bug related to wrong dates being selected.
Updating to the latest version resolved the locale format bug for me.
try using this it worked for me
locale: { format: 'YYYY-MM-DD', separator: " to " },