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)
 24hr date format

Author  Topic 

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2007-01-04 : 14:49:56
Gurus
i need the format where i can get the date in 24 hr format.Please help

Regards
Nitin Gupta

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2007-01-04 : 15:07:38
Where are you presenting your data? i.e., A report, a web page, Excel, etc? That is where you can format your dates any way that you want. SQL is not a presentation language.

- Jeff
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-01-04 : 16:39:25
CONVERT(varchar, <YourDateTimeColumnNameHere>, 108)


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2007-01-05 : 08:20:44
For more informations, read all replies posted here
http://sqlteam.com/forums/topic.asp?TOPIC_ID=76862

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -