Re: How do you get yesterday's date?
| From: | Folke Ashberg | Date: | Fri, 24 Nov 2000 21:43:15 +0000 |
| Subject: | Re: How do you get yesterday's date? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27047@lists.php.net to get a copy of this message | ||
Use this:
$yesterday_was=date("m/d/Y",time()-(60*60*24));
regards
Folke
--
Folke Ashberg
Stage Internet Services GmbH
Technical Development
folke@fanstage.de
folke@fanstage.de | Tel: +49 89 454591-77 | Fax: +49 89 454591-71
Kreillerstr. 21 | 81673 Munich | Germany | www.fanstage.de
On Fri, 24 Nov 2000, Noah Spitzer-Williams wrote:
> in the form of: m/d/y please
>
> thanks! - Noah
>
> --
>
> -----------------
> The DevBoard - http://www.thedevboard.com
> -----------------
> http://www.alladvantage.com/go.asp?refid=BIY971
- AllAdvantage
>
>
>
>