I am working on a stored procedure which returns a column of DateTime datatype.
DateTime
But I want to return only hh:mm with no seconds. I am usin
hh:mm
try this:
select left(CONVERT(VARCHAR(8),getdate(),108),5)