Re: converting a date to a string format
| From: | @vacation) | Date: | Tue, 13 Feb 2001 21:00:08 +0000 |
| Subject: | Re: converting a date to a string format | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39490@lists.php.net to get a copy of this message | ||
Don wrote:
>
> Does someone have a snippet of code that retrieves today's date,
> subtracts 14 days and converts the result to a string in the form
> "YYYYMMDD"?
See http://php.net/mktime and http://php.net/date
-Egon
--
SIX Offene Systeme GmbH · Stuttgart - Berlin
Sielminger Straße 63 · D-70771 Leinfelden-Echterdingen
Fon +49 711 9909164 · Fax +49 711 9909199 http://www.six.de
Besuchen Sie uns auf der CeBIT 2001, Halle 6, Stand F62/4