note 37303 added to function.imap-headerinfo

From: Date: Sun, 09 Nov 2003 22:35:46 +0000
Subject: note 37303 added to function.imap-headerinfo
Groups: php.notes 
Request: Send a blank email to php-notes+get-60184@lists.php.net to get a copy of this message
The difference between 'date' and 'udate' seems to be rather more than just the way they're formatted. 'date' is the date that was written in the headers by the sender's mail client, and probably bears little to do with reality. It's dependent on your sender knowing what the correct time is; it could be out by a few minutes, days, months or even years. 'udate' is the real date that the e-mail hit your IMAP server. Use 'udate' if you want to do neat stuff like work out how much e-mail you get sent on a daily basis - or, as I do, how much spam I get. Don't try it on 'date' unless you like knowing that you've got negative numbers of e-mails every now and again! ---- Manual Page -- http://www.php.net/manual/en/function.imap-headerinfo.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37303 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37303&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37303&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60184) next »