Was originally posted this to ask for help, but I have worked out the kinks and this works if anyone wants to use it. I assembled from other codes/advice I found (and owe much learning to Tom G). This is taking two dates from datepickr calendar and giving back the correct number of working days in between. The jQuery can be edited if specific holidays need to be edited.
I have this in the header: ">https://cdnjs.cloudflare.com/ajax/libs/flatpickr/4.6.3/flatpickr.js">
https://cdnjs.cloudflare.com/ajax/libs/flatpickr/4.6.3/flatpickr.css" rel="stylesheet" />">https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js">
The html for the question is this (It makes the two text entry fields to display the datepickr and "calc" button to get answer):
Biweekly Pay Periods:
This is my javascript (posted below)