Convert a special date string to DateTime

M

maflatoun

Hi,

I'm having a hard time parsing the following date/time that I get in
an XML call to a third party service provider.

12 Jun 2007 08:00 EST5EDT

I like to assign it to DateTime and can't find anything on Google

Thank you
M.
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

Hi,

I'm having a hard time parsing the following date/time that I get in
an XML call to a third party service provider.

12 Jun 2007 08:00 EST5EDT

I like to assign it to DateTime and can't find anything on Google

Thank you
M.

You can use the DateTime.ParseExact to parse any date format that you
can specify.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top