المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Converting a date format



C# Programming
09-12-2013, 11:51 PM
Hi,
I have date data supplied as a string in the following format...
"Mon Sep 9 00:00:00 UTC 0100 2013".
Firstly, what is this format?
Secondly, how can I use C# to convert it and stire it in a DateTime variable?
I've tried...
DateTime dt = Convert.ToDateTime("Mon Sep 9 00:00:00 UTC 0100 2013"); but this blows up http://www.barakasoft.com/script/Forums/Images/smiley_frown.gif

Many Thanks.