Hi!
I am retreiving data from a MS SQL 2000 DB to my EXCEL spreadsheet and this goes well using a SQL query from inside EXCEL. However, I have discovered that the returned data for timestamps is in UTC format while my time zone is CET. I scanned the web for info and found that there is an expression like SELECT ....AT TIME ZONE ...
However, I couldn't get that to work in my SQL query. In my query I want to retrieve a column T1.received_date in local time format.
Has anybody been doing these conversions from UTC and knows how the SQL statement should be written?
Regards
Anders
I am retreiving data from a MS SQL 2000 DB to my EXCEL spreadsheet and this goes well using a SQL query from inside EXCEL. However, I have discovered that the returned data for timestamps is in UTC format while my time zone is CET. I scanned the web for info and found that there is an expression like SELECT ....AT TIME ZONE ...
However, I couldn't get that to work in my SQL query. In my query I want to retrieve a column T1.received_date in local time format.
Has anybody been doing these conversions from UTC and knows how the SQL statement should be written?
Regards
Anders