Sunday, February 8, 2009

Convert string to Date.

string Strdate = "01/01/2000";
DateTime date = DateTime.Parse(Strdate);
Console.WriteLine(date.ToString());

1 comment:

彈跳 said...
This comment has been removed by a blog administrator.