SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Date format
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

240 Posts

Posted - 08/28/2014 :  03:00:51  Show Profile  Reply with Quote
Hi All,

How can we present the get date like below.
Wed 8/20/2014 6:31 AM

Aged Yak Warrior

736 Posts

Posted - 08/28/2014 :  05:51:16  Show Profile  Send ahmeds08 a Yahoo! Message  Reply with Quote
SELECT CONVERT(VARCHAR(20), getdate(), 22)

Javeed Ahmed

Edited by - ahmeds08 on 08/28/2014 05:54:41
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000