note 37303 deleted from function.imap-headerinfo by didou

From: Date: Sun, 14 Jan 2007 23:21:33 +0000
Subject: note 37303 deleted from function.imap-headerinfo by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-121656@lists.php.net to get a copy of this message
Note Submitter: james at cridland dot net ---- 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!

« previous php.notes (#121656) next »