SELECT CONVERT(VARCHAR, GETDATE(), 0) -- Mar 23 2012 3:51PM
SELECT CONVERT(VARCHAR, GETDATE(), 100) -- Mar 23 2012 3:51PM
SELECT CONVERT(VARCHAR, GETDATE(), 101) -- 03/23/2012
SELECT CONVERT(VARCHAR, GETDATE(), 102) -- 2012.03.23
SELECT CONVERT(VARCHAR, GETDATE(), 103) -- 23/03/2012
SELECT CONVERT(VARCHAR, GETDATE(), 104) -- 23.03.2012
SELECT CONVERT(VARCHAR, GETDATE(), 105) -- 23-03-2012
SELECT CONVERT(VARCHAR, GETDATE(), 106) -- 23 Mar 2012
SELECT CONVERT(VARCHAR, GETDATE(), 107) -- Mar 23, 2012
SELECT CONVERT(VARCHAR, GETDATE(), 108) -- 15:52:23
SELECT CONVERT(VARCHAR, GETDATE(), 109) -- Mar 23 2012 3:52:35:097PM
SELECT CONVERT(VARCHAR, GETDATE(), 110) -- 03-23-2012
SELECT CONVERT(VARCHAR, GETDATE(), 111) -- 2012/03/23
SELECT CONVERT(VARCHAR, GETDATE(), 112) -- 20120323
SELECT CONVERT(VARCHAR, GETDATE(), 113) -- 23 Mar 2012 15:53:23:143
SELECT CONVERT(VARCHAR, GETDATE(), 114) -- 15:53:31:690
SELECT CONVERT(VARCHAR, GETDATE(), 120) -- 2012-03-23 15:53:31
SELECT CONVERT(VARCHAR, GETDATE(), 121) -- 2012-03-23 15:53:31.690
No comments:
Post a Comment