Time Zone

Jun 13, 2008 at 1:01 PM
Imap.cs ProcessMessageHeader for date is retuning an invalid date when the date string contains " Thu, 5 Jun 2008 15:57:38 +0200 (BST)" or " Thu, 5 Jun 2008 15:57:38 -0400 (EDT) ", etc.
I am fixing it like that because .net DateTime type does not support this Format

                    if(date.IndexOf(" (") > 0)
                    {
                        date = date.Substring(0, headerData[name].IndexOf("("));
                    }

Any Idea how to fix it properly.

Alberto Acosta