I need some help on my SQL. How can I can add day of the week and calculate how many hours were worked on that day.
SELECT CONVERT(date,startTimeStamp) AS DATE
,CONVERT(time,[startTimeStamp])AS StartTime
,CONVERT(time,[endTimeStamp])AS EndTime
,CONVERT(time,[startTimeStamp])+ CONVERT(time,[endTimeStamp])
FROM [TaskManagementSystem_DB].[dbo].[Timesheet_entry]