Damn, only another 364 more days to gom3mn0n wrote:Cheers, all!
Seasons Greetings!
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Hmm, I notice a bug in the OP's code:
It should be
To account for the Russians' idea of when Christmas is 
And for the followers of other religions out there, may you be touched by His Noodly Appendage!

Code: Select all
if (($now = time()) > strtotime("24th december 2006") && $now < strtotime("1st january 2007"))
{
echo "Merry Christmas and A Happy New Year!";
}Code: Select all
if (($now = time()) > strtotime("24th december 2006") && $now < strtotime("6th january 2007")) //6th!
{
echo "Merry Christmas and A Happy New Year!";
}And for the followers of other religions out there, may you be touched by His Noodly Appendage!

seasons greetings
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.