Check to See if Current Time is between hours
Hey all,
I am almost positive I have seen this done before but I am struggling with it. I need to have a page that checks the current time and then depending on the time it will display certain things.
For example, if it is between 9AM and 11AM, it will show a link.
But I need it to check three different intervals (9-11, 1-4, 7-9). And if the current time is not between any of those hours (so like 6PM), then it just displays some text.
Any idea? Thanks again!
Mike
Michael W. Vollmer
__________________
Michael W. Vollmer
|