Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

CONVERT time string into 12 hours in sql

declare @t time
set @t = '14:40'

select CONVERT(varchar(15),@t,100)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #CONVERT #time #string #hours #sql
ADD COMMENT
Topic
Name
2+8 =