<?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: Splunk time format conversions? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-time-format-conversions/m-p/642161#M222448</link>
    <description>&lt;P&gt;Use the &lt;FONT face="courier new,courier"&gt;strptime&lt;/FONT&gt; function to convert the time into epoch form then use &lt;FONT face="courier new,courier"&gt;strftime&lt;/FONT&gt; to convert the epoch into the desired result.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval foo = strftime(strptime(foo, "%Y-%m-%dT%H:%M:%S%Z"), "%Y-%m-%d %H:%M:%S")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2023 16:58:49 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2023-05-03T16:58:49Z</dc:date>
    <item>
      <title>Splunk time format conversions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-time-format-conversions/m-p/642141#M222442</link>
      <description>&lt;P&gt;How do I convert the below time format&amp;nbsp;&lt;/P&gt;&lt;P&gt;2023-05-02T02:35:47Z into&lt;/P&gt;&lt;P&gt;2023-05-03 15:37:22&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 15:39:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-time-format-conversions/m-p/642141#M222442</guid>
      <dc:creator>pavanae</dc:creator>
      <dc:date>2023-05-03T15:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk time format conversions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-time-format-conversions/m-p/642161#M222448</link>
      <description>&lt;P&gt;Use the &lt;FONT face="courier new,courier"&gt;strptime&lt;/FONT&gt; function to convert the time into epoch form then use &lt;FONT face="courier new,courier"&gt;strftime&lt;/FONT&gt; to convert the epoch into the desired result.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval foo = strftime(strptime(foo, "%Y-%m-%dT%H:%M:%S%Z"), "%Y-%m-%d %H:%M:%S")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 16:58:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-time-format-conversions/m-p/642161#M222448</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-05-03T16:58:49Z</dc:date>
    </item>
  </channel>
</rss>

