Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# datetime remove time

DateTime dateAndTime = DateTime.Now;
Console.WriteLine(dateAndTime.ToString("dd/MM/yyyy")); // Will give you smth like 25/05/2011
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datetime #remove #time
ADD COMMENT
Topic
Name
7+6 =