UTC to UAE Time (Arabian Standard Time)
Convert UTC time to Arabian Standard Time in SQL Server
commit ddcaad9 · authored · 1 min read
SELECT CONVERT(datetime, SWITCHOFFSET(GETUTCDATE(), DATEPART(TZOFFSET,GETUTCDATE() AT TIME ZONE 'Arabian Standard Time'))) AS CreationTimeReplace GETUTCDATE() with your table column that has the UTC time.