Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DateTime in C# vs VB.NET
Message
From
18/04/2003 14:26:38
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00779262
Message ID:
00779273
Views:
11
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?...

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform