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
Post a Comment