I have Unix Time column to convert to MSSQL time only. Any help is appreciated.
SELECT CONVERT(TIME, SWITCHOFFSET(DATEADD(SECOND, CAST('755' AS BIGINT), '19700101') , DATEPART(TZOFFSET,DATEADD(SECOND, CAST('755' AS INT), '19700101') AT TIME ZONE 'E. Australia Standard Time'))) AS [start_time]
this gives me below answer but it is not correct. Any way to create the ms SQL time from unit time?