DECLARE @MyDate DATE = '2014-08-14'; SELECT CONVERT(VARCHAR(8), @MyDate, 10) AS [MM-DD-YY];
MM-DD-YY 08-14-14
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)