Getting Data In

Timestamp format for 12-HR format

JelianeL
Explorer

9/12/12 2:25:57.000 PM

Hi all,

Above is my timestamp and I'm using "%d/%m/%Y %H:%M:%S %p"

The format that I used return me all 'AM'.

Guide please 🙂

I used '%p' because I came across one documentation states '%p'

  • The locale's equivalent of AM or PM.
Tags (2)
0 Karma
1 Solution

lain179
Communicator

Try using %I instead of %H ... may be that will work.

"%d/%m/%Y %I:%M:%S %p"

View solution in original post

lain179
Communicator

Try using %I instead of %H ... may be that will work.

"%d/%m/%Y %I:%M:%S %p"

JelianeL
Explorer

Hi, thank you for your reply. It works 🙂

0 Karma
Get Updates on the Splunk Community!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

January 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk + Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...