I want to get only hh:mm from date.
hh:mm
How I can get this?
I have tried this :
CONVERT(VARCHAR(8), getdate(), 108)
You can cast datetime to time
select CAST(GETDATE() as time)
If you want a hh:mm format
select cast(CAST(GETDATE() as time) as varchar(5))