nmkkannan nmkkannan - 5 months ago 127
jQuery Question

how to set jquery datetimepicker mindate is tomorrow

My jquery code:

$('#DatePicker').datetimepicker({
timepicker : false,
format : 'd.m.Y',
minDate : 0
});


In this jquery i am using datetimepicker plugin.i want set min date is tomorrow date.in this code i set min date is today.how to set min date is tomorrow date.

Answer

Answer for this qustion:

$('#DatePicker').datetimepicker({
    timepicker : false,
    format : 'd.m.Y',
    minDate : '-1969/12/31'
});

it's working fine.

Comments