> I use cfpop to receive email from my mailserver. I
> want to store this mails into a database and later on
> I want to sort the stored email by date. I need to
> parse the date that I get from cfpop to get a valid
> datetime object for sql insertion.
>
> The format is like this
>
> Thu, 13 Jun 2002 15:44:22 +0200
>
> Any suggestions abot this problem?


Martin,
        Try using: ParseDateTime(MailMessage.date, "POP").  I've had to make some
tweaks to it because it doesn't correctly convert the time when it says
"GMT" instead of "-0000".

Good luck though.



Ben Johnson
Hostworks, Inc.

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to