Re: Newbie Date question
| From: | Jason Wong | Date: | Sun, 14 Jul 2002 16:41:37 +0000 |
| Subject: | Re: Newbie Date question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107618@lists.php.net to get a copy of this message | ||
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
*/