Re: [PHP] date brain teaser [fix]

2003-10-02 Thread Shew
Hi Justin, Most Xcellent. Thanks alot!!! Shew "J Morton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sorry I had a parentheses out of place, it should have been: > > $this_date = "1/1/2003"; > > for($i=1; $i<=365; $i++) { > if (date("l", strtotime($this_date)) == "Friday")

Re: [PHP] date brain teaser [fix]

2003-10-02 Thread J Morton
Sorry I had a parentheses out of place, it should have been: "; } $this_date = date("n/j/Y",mktime(0,0,0,date("m", strtotime($this_date)),date("d", strtotime($this_date))+1,date("Y", strtotime($this_date; } ?> Hope this helps, Justin Shew wrote: > Hi, > > I'm trying to find a formu