9/11/2010 12:00:00 AM
9/11/2010
Cast
Convert
ToString
dt.ToString("M/d/yyyy
SELECT CONVERT(VARCHAR(10), GETDATE(), 103) AS [DD/MM/YYYY]
SELECT CONVERT(VARCHAR(10),GETDATE(),111)
Convert(varchar,date,101) here retrieve "date" from database
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)