Skip to content

How to convert UTC date time

Anthony edited this page Jan 15, 2025 · 1 revision
[CreationDateLocal] = DATEADD(MINUTE, DATEDIFF(MINUTE, GETUTCDATE(), GETDATE()), cs.[CreationDate])  -- convert UTC to local time
Clone this wiki locally