hi,
you can do like this,
DateTime inputDate = default(DateTime);
DateTime.TryParse("5/30/2012 12:00:00 AM", out inputDate);
return inputDate.ToString("dd/MM/yyyy");
Instead of TryParse, you can also use Parse, TryParseExact. hope this will solve your purpose.
thanks
-Amit