I want to Convert time to 0000 format. I'm using SQL Server 2017.
I've written the following query :
SELECT EventName, Convert(time, EventTime) as 'Log out'
From AttendanceEvents
Which gives:
The Format I want my Time to be is :
1344
0032
1005
2013
and So on..