I want to convert my date time format in sql to 24 hr time
in short i want time (24 hr format) from datetime column
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bikesh SrivastavaPosted Sep 13, 2016, 2:16 AM
Example -
Query (24 hour format):
Result
Tapan PatelPosted Sep 12, 2016, 11:22 AM
Midhun TpPosted Sep 8, 2016, 10:16 AM
select convert(varchar(5),colname,108) as [time] from yourtable
Nitin SontakkePosted Sep 8, 2016, 9:27 AM