Re: converting a date to a string format
| From: | Jared Howard | Date: | Tue, 13 Feb 2001 23:51:59 +0000 |
| Subject: | Re: converting a date to a string format | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39532@lists.php.net to get a copy of this message | ||
date("Ymd", mktime(0,0,0,date("d"),date("m")-14,date("Y")));
At 03:57 PM 2/13/01 -0500, 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"?
>
>If possible, please reply to my email.
>
>Thanks,
>Don
>
>
>--
>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
>