get date form bootstrap-datepicker