note 10506 added to imap_header
| From: | lbocahut at cybercable dot chek dot com | Date: | Mon, 08 Jan 2001 13:29:50 +0000 |
| Subject: | note 10506 added to imap_header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9474@lists.php.net to get a copy of this message | ||
for the above example, it is easier to use the unix date and convert it with the date function as
follows:
$header=imap_header($mbox, $Msgno);
$udate=$header->udate;
$date=Date("your format", $udate);
tiz more flexible ;)
http://www.php.net/manual/function.imap-header.php