sql server - How Change the '23:00:00' time to something like '11:00PM' in sql query? -


i have been trying calculation date. want '23:00:00' display '11:00pm'

does know on how this?i know might simple one.

thanks

can try this

select convert(varchar,convert(time,getdate()),100) 

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -