I am assuming you have 10/05/2014 as
string
, not a
DateTime
. So solution would be
string time = DateTime.ParseExact("10/05/2014","dd/MM/yyyy",CultureInfo.InvariantCulture).ToString("dd-MMM-yyyy");
If its
DateTime
than just
ToString("dd-MMM-yyyy")
will work.
Regards..