Dashboards & Visualizations

I have a column in a table which shows time in UTC. How can i import this time as UTC in DB Connect 2

graa1005
Explorer

My SQL server is in CET All datetime columns are imported in CET. Now I have one table in which the datetime is stored in UTC. How can I import this UTC time column in DB Connect 2 so DB connect knows that this column is in UTC instead of CET.

Tags (1)
0 Karma

jkat54
SplunkTrust
SplunkTrust

You can just do it in your SQL query

https://msdn.microsoft.com/en-us/library/ms186819.aspx

SELECT DATEADD(hour, -1, DATEADD(second, yourTimeStampColumn, '1970-01-01'))

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...