Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateTime in C# vs VB.NET
Message
De
18/04/2003 14:26:38
 
 
À
18/04/2003 14:12:25
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00779262
Message ID:
00779273
Vues:
12
This message has been marked as the solution to the initial question of the thread.
Use ToShortDateString() or ToLongDateString() methods. For example:
DateTime strDateTime;
strDateTime = DateTime.Today;
txtDate.Text = strDateTime.Date.ToShortDateString();

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform