note 10110 added to date
| From: | mbabcock-php at fibrespeed dot net | Date: | Thu, 14 Dec 2000 03:21:39 +0000 |
| Subject: | note 10110 added to date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8718@lists.php.net to get a copy of this message | ||
If you want to create a timestamp for E-mail message headers, or just want an example of RFC822 date
format, use:
date("d M Y H:i:s -0000")
Note: this only works properly if you've set the time to GMT or give date a GMT based date and
time. If you want to, you can convert that seconds-based offset into an hours and minutes one to
replace "-0000".
http://www.php.net/manual/function.date.php