On Thursday 04 March 2004 12:52, Andy B wrote:
> You'd want something more like this for the format:
> echo date("l F j Y", $time);
> but for me, this caused the following output
> Saturday June 27 2009
> doesn't seem right somehow :/
>
> i know i wonder if i have the strtotime("third saturday january 2005");
> written all wrong or something.....

Breaking it up like this:

  $time= strtotime("third saturday", mktime(0,0,0,1,1,2005));
  echo date("l F j Y", $time);

seems to work.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Some men rob you with a six-gun -- others with a fountain pen.
                -- Woodie Guthrie
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to