Skip to main content

Set time format in SQL SERVER (like hh:mm tt)

SELECT ltrim(right(convert(varchar(25), getdate(), 100), 7))

Comments