RE: [PHP] PHP and Date()

2002-07-18 Thread Jay Blanchard
[snip] sorry about last message I want to get a list of the last 7 business days so I would have to loop through this and get each day correct? [/snip] Yes, testing for Saturday and Sunday ... Jay "Vampires Suck" * * Want to meet other PHP developers * * in

Re: [PHP] PHP and Date()

2002-07-18 Thread Chris Crane
sorry about last message I want to get a list of the last 7 business days so I would have to loop through this and get each day correct? "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 001701c22e78$4494c970$8102a8c0@niigziuo4ohhdt">news:001701c22e78$4494c970$8102a8c0@niigziuo4ohhdt... > [sn

RE: [PHP] PHP and Date()

2002-07-18 Thread Jay Blanchard
[snip] How can I look back Business Days. I would like to go back from a certain date, like 7 business days. Is there a simple way other then looping and checking for the day of the week? [/snip] $sevendaysago = date("Y-m-d", mktime(date("h")-168)); This will give you the date exactly seven days

[PHP] PHP and Date()

2002-07-18 Thread Chris Crane
How can I look back Business Days. I would like to go back from a certain date, like 7 business days. Is there a simple way other then looping and checking for the day of the week? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php