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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...