I've done some searches but couldn't find anything similar.
I want to disable the button if the Date is on the 15th of the month in 9AM and resume it on the 16th 9AM and I also want to disable it on the last day of the month still 9AM and resume it on the 1st day of the next month in 9AM.
Your help is very much appreciated. Thank you!
Here is what I've tried so far and its not working.
var thisDay = new Date().getDate();
var thisTime = new Date().getHours();
if (thisTime>=9 && thisDay==15) {
$('#AddMenu').attr("disabled", true);
}