DateTime.Parse
using System;
class MainClass
{
public static void Main(string[] args)
{
// 1st September 2005 00:00:00
DateTime dt1 = DateTime.Parse("Sep 2005");
Console.WriteLine(dt1);
}
}
Output 01/09/2005 12:00:00 AM
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
|