<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to convert epoch timestamp to readable date format? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142398#M39514</link>
    <description>&lt;P&gt;Thanks.. It's work in my case..&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jun 2015 07:36:44 GMT</pubDate>
    <dc:creator>sunnyparmar</dc:creator>
    <dc:date>2015-06-02T07:36:44Z</dc:date>
    <item>
      <title>How to convert epoch timestamp to readable date format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142396#M39512</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am browsing information on one of our ticketing server databases, however, when I try to show table contents, it shows a weird format of date like the one below. Can anyone help how I can fix this? Thanks!&lt;/P&gt;

&lt;P&gt;SystemLogID: 1713&lt;BR /&gt;&lt;BR /&gt;
CreatedDate: &lt;STRONG&gt;&lt;EM&gt;1405343596.040&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;
UserID:  XX&lt;BR /&gt;&lt;BR /&gt;
Actions: XX&lt;BR /&gt;&lt;BR /&gt;
IsActive: XX&lt;BR /&gt;&lt;BR /&gt;
TicketID: XXXX&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 07:54:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142396#M39512</guid>
      <dc:creator>tattoostreet</dc:creator>
      <dc:date>2014-07-15T07:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert epoch timestamp to readable date format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142397#M39513</link>
      <description>&lt;P&gt;That's an epoch timestamp, seconds.milliseconds since 1970. You can convert that to a readable format by appending this to your search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | fieldformat CreatedDate = strftime(CreatedDate, "%F %T.%3N")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Jul 2014 08:16:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142397#M39513</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-07-15T08:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert epoch timestamp to readable date format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142398#M39514</link>
      <description>&lt;P&gt;Thanks.. It's work in my case..&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2015 07:36:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142398#M39514</guid>
      <dc:creator>sunnyparmar</dc:creator>
      <dc:date>2015-06-02T07:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert epoch timestamp to readable date format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142399#M39515</link>
      <description>&lt;P&gt;Or you can create a macro as well.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 11:32:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142399#M39515</guid>
      <dc:creator>muralianup</dc:creator>
      <dc:date>2015-12-02T11:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert epoch timestamp to readable date format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142400#M39516</link>
      <description>&lt;P&gt;My Epoch timestamp was something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;StartTime=1449559286189
EndTime=1449577678580
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So dividing it by 1000 did the trick&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eval StartTime=StartTime/1000, EndTime=EndTime/1000 | fieldformat StartTime=strftime(StartTime, "%F %T.%3N") | fieldformat EndTime=strftime(EndTime, "%F %T.%3N")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Dec 2015 14:13:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142400#M39516</guid>
      <dc:creator>brigancc</dc:creator>
      <dc:date>2015-12-08T14:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert epoch timestamp to readable date format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142401#M39517</link>
      <description>&lt;P&gt;works thank you&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 17:56:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-epoch-timestamp-to-readable-date-format/m-p/142401#M39517</guid>
      <dc:creator>bluemarvel</dc:creator>
      <dc:date>2016-08-04T17:56:12Z</dc:date>
    </item>
  </channel>
</rss>

