When trying to convert UTC timestamp to Central, Toad's data grid is not displaying the correct time. It adds the "us/central" at end but does not convert the time difference.
Sample:
SELECT
sysID,
createDate1,
(FROM_TZ (createDate1, 'UTC') AT TIME ZONE 'US/CENTRAL') AS localDate
FROM Table1
This returns in the data grid (incorrect)...
SYSID | LOCALTIME | ORIGINALTIME |
---|---|---|
24828050 | 1/1/2015 01:00:00.0000 PM US/Central | 1/1/2015 01:00:00.0000 PM |
When expecting (correct)...
SYSID | LOCALTIME | ORIGINALTIME |
---|---|---|
24828050 | 1/1/2015 07:00:00.0000 PM US/Central | 1/1/2015 01:00:00.0000 PM |
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center