<?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 Help me to Format date in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-me-to-Format-date/m-p/388918#M113399</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I want to format the date field with the following format&lt;/P&gt;

&lt;P&gt;Ex:&lt;/P&gt;

&lt;P&gt;20190401&lt;/P&gt;

&lt;P&gt;Expected:&lt;/P&gt;

&lt;P&gt;01 Apr 2019  Mon&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2019 04:28:19 GMT</pubDate>
    <dc:creator>rockts89</dc:creator>
    <dc:date>2019-04-03T04:28:19Z</dc:date>
    <item>
      <title>Help me to Format date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-me-to-Format-date/m-p/388918#M113399</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I want to format the date field with the following format&lt;/P&gt;

&lt;P&gt;Ex:&lt;/P&gt;

&lt;P&gt;20190401&lt;/P&gt;

&lt;P&gt;Expected:&lt;/P&gt;

&lt;P&gt;01 Apr 2019  Mon&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 04:28:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-me-to-Format-date/m-p/388918#M113399</guid>
      <dc:creator>rockts89</dc:creator>
      <dc:date>2019-04-03T04:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help me to Format date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-me-to-Format-date/m-p/388919#M113400</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval date ="20190401" 
| eval epoch =strptime(date,"%Y%m%d") 
| eval new_date=strftime(epoch,"%d %b %Y  %a")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Apr 2019 04:30:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-me-to-Format-date/m-p/388919#M113400</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-04-03T04:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help me to Format date</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-me-to-Format-date/m-p/388920#M113401</link>
      <description>&lt;P&gt;Thanks for quick reply..&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 04:33:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-me-to-Format-date/m-p/388920#M113401</guid>
      <dc:creator>rockts89</dc:creator>
      <dc:date>2019-04-03T04:33:03Z</dc:date>
    </item>
  </channel>
</rss>

