Checking Time to allow form filling in PHP (and javascript)
<p>For a website, we have a form where a client enters in their ID number that sends them to a new page that allows them to make a request for our services. </p>

<p>We want to change it so that clients can only request our services from Tuesday-Friday from 12pm - 4pm. If they try to enter their id number during a time outside of Tuesday-Friday from 12pm - 4pm, it will tell them they cannot request our services. </p>

<p>What I want to do is that if the user accesses the page during times when they <strong>cannot</strong> make a request, an alert box (through javascript) will pop up telling them that. I also want to code something so that if they try to progres forward (clicking the create request button), they will not (though php). </p>

<p>I'm not sure how to check these times with PHP and Javascript in order to accomplish this. If anyone has any insight in how to do this, that would be fantastic. Thanks!</p>
