<?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: Date Format in required form in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Date-Format-in-required-form/m-p/174400#M50045</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval newdate = upper(strftime(strptime(date+"01", "%Y%m%d"), "%b-%y"))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 05 Mar 2014 09:05:37 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-03-05T09:05:37Z</dc:date>
    <item>
      <title>Date Format in required form</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Date-Format-in-required-form/m-p/174397#M50042</link>
      <description>&lt;P&gt;Hi i have a Date in the below form&lt;/P&gt;

&lt;P&gt;201304&lt;BR /&gt;
201306&lt;BR /&gt;
201307&lt;/P&gt;

&lt;P&gt;I want to convert to these to below form&lt;/P&gt;

&lt;P&gt;APR-13&lt;BR /&gt;
JUN-13&lt;BR /&gt;
JUL-13&lt;/P&gt;

&lt;P&gt;Please help me in this&lt;/P&gt;

&lt;P&gt;Thanking you&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 07:37:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Date-Format-in-required-form/m-p/174397#M50042</guid>
      <dc:creator>ncbshiva</dc:creator>
      <dc:date>2014-03-05T07:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format in required form</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Date-Format-in-required-form/m-p/174398#M50043</link>
      <description>&lt;P&gt;You can do that with a combination of strptime and strftime, see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/CommonEvalFunctions"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/CommonEvalFunctions&lt;/A&gt; for reference.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 08:35:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Date-Format-in-required-form/m-p/174398#M50043</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-03-05T08:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format in required form</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Date-Format-in-required-form/m-p/174399#M50044</link>
      <description>&lt;P&gt;i tried to convert using above functions, but didn,t work.&lt;BR /&gt;
Please help me .&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 08:48:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Date-Format-in-required-form/m-p/174399#M50044</guid>
      <dc:creator>ncbshiva</dc:creator>
      <dc:date>2014-03-05T08:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format in required form</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Date-Format-in-required-form/m-p/174400#M50045</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval newdate = upper(strftime(strptime(date+"01", "%Y%m%d"), "%b-%y"))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Mar 2014 09:05:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Date-Format-in-required-form/m-p/174400#M50045</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-03-05T09:05:37Z</dc:date>
    </item>
  </channel>
</rss>

