Lowercase mm means minute, use mm
DateTime mydate = DateTime.ParseExact(datetoconvert,"dd/MM/yyyy",System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat);
If you want to print it as 30/Mar/2017 (another section):
string result = mydate.ToString("dd/MMM/yyyy", CultureInfo.InvariantCulture);
But note that / has special meaning (in Parse and ToString ). It will be replaced by your current cultural date separator, which seems to / but not with another. You can avoid this by specifying CultureInfo.InvariantCulture or disguising it by wrapping it with apostrophes:
DateTime mydate = DateTime.ParseExact(datetoconvert,"dd'/'MM'/'yyyy",System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat);
source share