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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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