I wanted a php script that would inform visitors to a [web page](http://www.seydesign.com/support/contact_us/ “contact us | support | seyDesign Professional RapidWeaver themes”) that the office was either open or closed, depending on the day of the week and what time of day it was. I made a half hearted attempt to find one on the internet, but to be honest I knew I could write one faster. I thought of making it a proper extensible class but thought I’d better move on before I tie up too much time in it.
It’s pretty basic but I thought some of you might find it handy for your own purposes. The directions are in the script itself which you can [download here](http://www.seydoggy.com/downloads/officeHours.php.zip “”).