Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 query regarding datetime format

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-05-24 : 10:28:53
Manish Surjan writes "Hi
I want output like 14/05/2004 11:10. mean dd/mm/yy hh:mm how can i get this, which option of format function will give me output like this. or any other function which can solve my purpose.

Manish"

graz
Chief SQLTeam Crack Dealer

4149 Posts

Posted - 2004-05-24 : 10:28:53
The convert statement has formats you can use: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_ca-co_2f3o.asp
Go to Top of Page
   

- Advertisement -