Your problem is not in parsing, but in the output. See how ToString works for DateTime or uses this example:
using System; class Program { static void Main(string[] args) { DateTime dt = DateTime.Parse("09/12/2009"); Console.WriteLine(dt.ToString("dd/MM/yyyy")); } }
Or get something in your locale:
Console.WriteLine(dt.ToShortDateString());
Update. Your update to the question implies that you have not yet fully understood my answer, so I will add a little more explanation. There is no date in .NET - there is only DateTime. If you want to represent the date in .NET, you do this by storing the time of midnight at the beginning of this day. Time should always be kept, even if you do not need it. You cannot delete it. The important point is that when you show this DateTime to the user, you only show the Date part.
Mark byers
source share