I have a datetimepicker -jqueryui, just wondering if is it possible for me to check if the date selected is a weekend or public holiday. If its a public holiday,can I have like a text file with a list of public holidays that it can cross check with.
I would like to have something like this.image1.png
The from and to time is enabled with datetimepicker and the "hour difference between the from and to time" calculated will be entered into the overtime total hours. If the date selected is a normal day, it will send the value to the normal day textbox, if its a weekend, it will send the value to the rest day textbox and if its a public holiday, it will send the value to the public holiday text box.
Any idea or guidance.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)