string d = "24-Dec-04";
DateTime dt = DateTime.ParseExact(d,"dd-MMM-yy",null);
>>DateTime.Parse or DateTime.ParseExact will do what you want. There is no difference between how they work in Web or Windows.
>
>Thanks for the feedback, David.
>
>Can you please confirm what parameters I should be passing? My "dates" are strings in the form 24-Dec-04
>
>Kevin