How to get the selected date value while using Bootstrap Datepicker?
You can try this
$('#startdate').val()
or
$('#startdate').data('date')
For bootstrap datepicker you can use:
$("#inputWithDatePicer").data('datepicker').getFormattedDate('yyyy-mm-dd');