Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Manipulating Data Prior To Display
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00967471
Message ID:
00972249
Vues:
38
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform