Date specific conditional
Posted: Thu May 03, 2007 11:33 am
Hey guys... Date and time related stuff is probably my biggest weakness with PHP, but I have a fairly simple problem maybe one of you can help me with.
I am making a part of a webpage that is a conditional that will do something if the current date is October of 2007 or later. So basically, I want to write some code for the page right now, so that when it does turn October, the page displays something different.
Any idea on the best way to do this? Any guidance would be greatly appreciated. Thanks.
I am making a part of a webpage that is a conditional that will do something if the current date is October of 2007 or later. So basically, I want to write some code for the page right now, so that when it does turn October, the page displays something different.
Any idea on the best way to do this? Any guidance would be greatly appreciated. Thanks.