I am facing the issue that I need to convert between different time zones. I found a solution for SQL Server version 2016 using AT TIME ZONE
. Is there also an easy solution for SQL Server 2014?
Something like following would be great:
SELECT CONVERT(datetime, '2018-01-01 01:00:59') -- Datetime in Alaska
AT TIME ZONE 'Central European Standard Time'; -- Datetime in Europe