convert utc datetime to local time in sql server code example
Example: sql server utc to local
SELECT
['TIME COLUM TO CONVERT'] AS [UTC_TIME],
DATEADD(hh, DATEDIFF(hh, GETUTCDATE(), GETDATE()),['TIME COLUM TO CONVERT']) AS [lOCAL_TIME]
FROM ['TABLE NAME']