DateTimePicker post and book the next business days

1

Good morning!

I'm having a big problem, I use the Bootstrap DateTimePicker to include a calendar just above a stopwatch on an html page, but now, on this calendar, the next 5 business days after the current day were requested to be demarcated to be accurately passed the correct date to the customer who contacted us.

I'm still starting to develop java and, related to php I do not have enough knowledge, apart from the fact that the server I use to upload files works as an intranet, where it is blocking any kind of view / return referring to files in PHP .

The code I am using in datetimepicker is as follows:

   /* Calendário com Feriados Nacionais */
    $(function () {
            $('#datetimepicker1').datetimepicker({
                locale: 'pt-br',
                format:'L',
                daysOfWeekDisabled: [0, 6],
                disabledDates: [ 
                    "1/1/2018",
                    "2/12/2018",
                    "2/13/2018",
                    "3/30/2018",
                    "4/21/2018",
                    "5/1/2018",
                    "5/31/2018",
                    "9/7/2018",
                    "10/12/2018",
                    "11/2/2018",
                    "11/15/2018",
                    "12/25/2018",

                    "1/1/2019",
                    "3/4/2019",
                    "3/5/2019",
                    "4/14/2019",
                    "4/21/2019",
                    "5/1/2019",
                    "6/20/2019",
                    "9/7/2019",
                    "10/12/2019",
                    "11/2/2019",
                    "11/15/2019",
                    "12/25/2019",                        

                    "1/1/2020",
                    "2/24/2020",
                    "2/25/2020",
                    "4/10/2020",
                    "4/21/2020",
                    "5/1/2020",
                    "6/11/2020",
                    "9/7/2020",
                    "10/12/2020",
                    "11/2/2020",
                    "11/15/2020",
                    "12/25/2020",   

                    "1/1/2021",
                    "2/15/2021",
                    "2/16/2021",
                    "4/2/2021",
                    "4/21/2021",
                    "5/1/2021",
                    "6/3/2021",
                    "9/7/2021",
                    "10/12/2021",
                    "11/2/2021",
                    "11/15/2021",
                    "12/25/2021",     

                    "1/1/2022",
                    "2/28/2022",
                    "2/29/2022",
                    "4/15/2022",
                    "4/21/2022",
                    "5/1/2022",
                    "6//2022",
                    "9/7/2022",
                    "10/12/2022",
                    "11/2/2022",
                    "11/15/2022",
                    "12/25/2022",                          

                ],



            });
        });

Could anyone tell me if it is possible to do this inclusion of the 5 working days that are enabled after the current date using this plugin or would it be necessary to work with another in specific?

If you need to use another plugin in specific what would it be?

Thank you very much for your attention.

    
asked by anonymous 03.07.2018 / 14:17

0 answers