All Apps and Add-ons

DB Connect - How to convert varchar to date/time format

joesrepsolc
Communicator

Working on a new data input in DB Connect with SQL Server. Date column is called "start_time" and is a 19 digit format for a date/time.

Example:

start_time = 20190206170328159

Definitiion Breakdown:
2019 02 06 17 03 28 159
yyyy MM dd HH mm ss SSS

Need it converted to a normal date/time format that Splunk can use for the timestamp. Anyone able to help with correct convert SQL statement?

Help

Thanks! Joe

0 Karma
Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...