2
votes

I'm using the datetime picker from this site: http://eonasdan.github.io/bootstrap-datetimepicker which works fine.

i am trying to get the tomorrow date.

 $(function () {
            $('#datetimepicker1').datetimepicker({                  
                format: "DD/MM/YYYY",
                minDate: moment()

            });

        });

This code works well, but the calendar lets me pick today.. I want it to let me pick starting tomrrow.

1
above posted the link related. regards - funkeeiads

1 Answers

7
votes

I did it !!! it works perfectly

        $(function () {
            $('#datetimepicker1').datetimepicker({                  
                format: "DD/MM/YYYY",
                minDate: moment().add('d', 1).toDate()

            });

        });