<?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: epoch _time conversion in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/epoch-time-conversion/m-p/235243#M45811</link>
    <description>&lt;P&gt;&lt;CODE&gt;duration&lt;/CODE&gt; is time in seconds. For a human readable time format, look at &lt;CODE&gt;strftime()&lt;/CODE&gt; In you example &lt;CODE&gt;strftime(_time, "%Y %M%D")&lt;/CODE&gt; would give you 2015 10 14.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Nov 2015 21:07:44 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2015-11-13T21:07:44Z</dc:date>
    <item>
      <title>epoch _time conversion</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/epoch-time-conversion/m-p/235242#M45810</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm trying to retrieve a readable time value from a time stamp, so I ran this command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eval "Time of most recent Update"=tostring(_time,"duration") 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and I get back a value like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;16723+03:58:46.647379
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;when _time is originally &lt;CODE&gt;2015 10-14 23:10:54.111&lt;/CODE&gt;&lt;BR /&gt;
This looks suspect to me.  Is &lt;CODE&gt;16723+03:58:46.647379&lt;/CODE&gt; the correct value?  How do I interpret it?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 20:50:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/epoch-time-conversion/m-p/235242#M45810</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2015-11-13T20:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: epoch _time conversion</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/epoch-time-conversion/m-p/235243#M45811</link>
      <description>&lt;P&gt;&lt;CODE&gt;duration&lt;/CODE&gt; is time in seconds. For a human readable time format, look at &lt;CODE&gt;strftime()&lt;/CODE&gt; In you example &lt;CODE&gt;strftime(_time, "%Y %M%D")&lt;/CODE&gt; would give you 2015 10 14.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 21:07:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/epoch-time-conversion/m-p/235243#M45811</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2015-11-13T21:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: epoch _time conversion</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/epoch-time-conversion/m-p/235244#M45812</link>
      <description>&lt;P&gt;Thanks!  That helped a lot&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 22:11:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/epoch-time-conversion/m-p/235244#M45812</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2015-11-13T22:11:26Z</dc:date>
    </item>
  </channel>
</rss>

