Try this:
DateTime myDate = DateTime.ParseExact("27/06/2012", "dd-MM-yyyy", System.Globalization.CultureInfo.InvariantCulture)
Or
DateTime oDate = DateTime.Parse(string s);
Refer:
Convert.ToDateTime Method (String)[
^]
I Tried using Datetime.parseexact
Method , but it is giving wrong date.
What exactly it's giving, can you post that wrong date.