Re: calculating US holidays
| From: | Tom Rogers | Date: | Tue, 16 Apr 2002 03:12:08 +0000 |
| Subject: | Re: calculating US holidays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93115@lists.php.net to get a copy of this message | ||
Hi
This is one way:
echo date("d/m/Y",strtotime("third sunday",strtotime("2/1/2002")));
Tom
At 05:17 AM 16/04/2002, Tom Beidler wrote:
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