<input id="reportrange1" name="reportrange1" class="date-picker form-control col-md-7 col-xs-12" type="text">
$('#reportrange1').daterangepicker({
singleDatePicker : true,
singleDatePicker: true,
showDropdowns: true,
minDate:'01/01/2012',
maxDate:'01/01/3100',
"drops": "up",
locale: {
daysOfWeek: ['日', '一', '二', '三', '四', '五', '六'],
monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
},
}, function(start, end, label) {
console.log(start.format('YYYY-MM-DD'));
});