On Monday 15 July 2002 00:01, RoyW wrote:
> If:
>
> $today = date("Y-m-d");
>
> Then how to I get:
>
> $yesterday = ?

Use strtotime() followed by date(). Details in manual.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
I went to a Grateful Dead Concert and they played for SEVEN hours.  Great 
song.
                -- Fred Reuss
*/


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

Reply via email to