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
 SQL Server Development (2000)
 format of date output

Author  Topic 

skillile
Posting Yak Master

208 Posts

Posted - 2002-01-31 : 09:21:03
if there a way to convert times from 24 hr
ie 13:00:00, 14:00:00 to output from a sproc
to 1:00 PM, 2:00 PM
without changing the regional settings of the
server.


slow down to move faster...

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-01-31 : 09:27:37
I don't know the exact code number but the CONVERT() function can format times as AM/PM. Check Books Online.

Go to Top of Page
   

- Advertisement -