The POP date string (eg "Wed, 19 Nov 2003 11:25:26 +1100") is the sender's local time with UTC offset appended. Strip off the UTC offset and you don't know when the mail was sent in your timezone.

parseDateTime() applies the offset to get to UTC and returns a ready to use date/time object - isn't this why we all love CF :)

> Could be a good fun time to leverage some Java and use java.util.StringTokenizer,

What's that old saying - when your only tool is a hammer, you tend to see every problem as a nail? :)


Cheers,


- Ben
http://www.daemon.com.au/

Mark M wrote:

Fine then, take the much simpler route...
See what I care ;oD





--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to