How to convert string date into datetime?

 Posted by Rajesh_Kumar on 1/19/2014 | Category: C# Interview questions | Views: 2602 | Points: 40

DateTime'Parse method is used to convert string Date into Datetime.

For Example:-

string date = "2014-01-01";

DateTime dt = DateTime.Parse(date);

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response