RE: [PHP] how to show yesterday's date w/ php?
| From: | Ralph Guzman | Date: | Tue, 09 Oct 2001 05:28:37 +0000 |
| Subject: | RE: [PHP] how to show yesterday's date w/ php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70419@lists.php.net to get a copy of this message | ||
$yesterday = date("Ymd", time() - 86400);
-----Original Message-----
From: sc [mailto:sven@gstar.com.au]
Sent: Monday, October 08, 2001 10:08 PM
To: php-general@lists.php.net
Subject: [PHP] how to show yesterday's date w/ php?
Hey;
I've searched the net with this, but have yet to find one that works for
me...
How do i go about showing yesterday's date with a php script? without it
stuffing up when you ask it on the 1st of a month..
any help would be appreciated...
-sc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net