Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Manipulating Data Prior To Display
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00967471
Message ID:
00972249
Views:
23
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
Previous
Reply
Map
View

Click here to load this message in the networking platform