$('.form_date').datetimepicker({
language: 'fr',
weekStart: 1,
todayBtn: 0,
autoclose: 1,
todayHighlight: 1,
startView: 2,
minView: 2,
forceParse: 0,
// yearRange: '-99:-18',
//endDate: e2,
startDate: "1921-01-01 10:00",
pickerPosition:'bottom-left',
// yearRange: '1950:2013',
endDate: '-18y'
});
<input class="form-control field1 form_date" onchange="showsunsign(), showseldate('bdate1')" data-date-format="dd-M-yyyy" data-link-field="dtp_input1" type="text" required autocomplete="off" data-link-format="dd-mmm-yyyy">
I am using end Date to display the 18-year complete date of birth.
When I used the endDate: '-18y' it would display the calendar till September 2003 month only.
Is it possible to enable the Next button for the selection of future dates in the calendar?.
If yes then can you help me out on this.