note 10110 deleted from date by ronabop
| From: | ronabop@php.net | Date: | Sat, 10 Mar 2001 22:33:07 +0000 |
| Subject: | note 10110 deleted from date by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12209@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".