Re: [PHP] calculating US holidays

2002-04-15 Thread Tom Rogers
Hi Perhaps that should have been: echo date("d/m/Y",strtotime("third monday",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

Re: [PHP] calculating US holidays

2002-04-15 Thread Tom Rogers
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

Re: [PHP] calculating US holidays OT

2002-04-15 Thread DL Neil
> > I need to calculate the date to see if it's a holiday, i.e. is today > > presidents day > > No, today is Patriot's Day! > > Not sure if it's celebrated outside of Massachusetts It's celebrated any day there's a SCUD inbound! =dn -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] calculating US holidays

2002-04-15 Thread heinisch
ate: Mon, 15 Apr 2002 14:48:15 -0500 > > To: "Tom Beidler" <[EMAIL PROTECTED]>, "php list" > > <[EMAIL PROTECTED]> > > Subject: Re: [PHP] calculating US holidays > > > > > $month = date("m"); > > $day = date("d"

Re: [PHP] calculating US holidays

2002-04-15 Thread Steve Cayford
anization: Captain Jack Communications >> Date: Mon, 15 Apr 2002 14:48:15 -0500 >> To: "Tom Beidler" <[EMAIL PROTECTED]>, "php list" >> <[EMAIL PROTECTED]> >> Subject: Re: [PHP] calculating US holidays >> >> > $month = date(&qu

Re: [PHP] calculating US holidays

2002-04-15 Thread Robert Cummings
uld 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 > &g

Re: [PHP] calculating US holidays

2002-04-15 Thread Tom Beidler
> Organization: Captain Jack Communications > Date: Mon, 15 Apr 2002 14:48:15 -0500 > To: "Tom Beidler" <[EMAIL PROTECTED]>, "php list" > <[EMAIL PROTECTED]> > Subject: Re: [PHP] calculating US holidays > > $month = date("m"

Re: [PHP] calculating US holidays

2002-04-15 Thread Tyler Longren
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 dat

Re: [PHP] calculating US holidays

2002-04-15 Thread Erik Price
On Monday, April 15, 2002, at 03:17 PM, Tom Beidler wrote: > I need to calculate the date to see if it's a holiday, i.e. is today > presidents day No, today is Patriot's Day! Not sure if it's celebrated outside of Massachusetts Erik Erik Price Web Developer Temp Media Lab, H

[PHP] calculating US holidays

2002-04-15 Thread Tom Beidler
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