DateTime.ParseExact
using System;
class MainClass
{
public static void Main(string[] args)
{
DateTime dt7 = DateTime.ParseExact("Mon, 05 Sep 2005 14:13:30 GMT", "ddd, dd MMM yyyy HH':'mm':'ss 'GMT'", null);
Console.WriteLine(dt7);
}
}
Output 05/09/2005 2:13:30 PM
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
|