<?
$month = date("m");
$day = date("d");
if ($month == "10" && $day == "31") {
print "It's Halloween!";
}
?>
you could do something similar to that.
tyler
----- Original Message -----
From: "Tom Beidler" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Monday, April 15, 2002 2:17 PM
Subject: [PHP] calculating US holidays
> I need to calculate the date to see if it's a holiday, i.e. is today
> presidents day, which happens to be the third monday of february. Can
> someone point me to some code that can do that?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php