how to set jquery datetimepicker mindate is tomorrow

nmkkannan picture nmkkannan · May 21, 2014 · Viewed 52.1k times · Source

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

nmkkannan picture nmkkannan · May 21, 2014

Answer for this qustion:

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

it's working fine.