DateTime.Parse
using System;
class MainClass
{
public static void Main(string[] args)
{
DateTime dt2 = DateTime.Parse("Monday 5 September 2005 14:16:31");
Console.WriteLine(dt2);
}
}
Output 05/09/2005 2:16:31 PM
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
|