<?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 Contact strptime date conversion in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Contact-strptime-date-conversion/m-p/69396#M17398</link>
    <description>&lt;P&gt;is converted to,2013-03-1 strftime (_time, "%Y-%m-%W").&lt;BR /&gt;
However, the&lt;BR /&gt;
and strptime (strftime (_time, "%Y-%m-%W"), "%Y-%m-%W"), not converted.&lt;/P&gt;

&lt;P&gt;I want to know how to solve.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:33:55 GMT</pubDate>
    <dc:creator>jcisha</dc:creator>
    <dc:date>2020-09-28T13:33:55Z</dc:date>
    <item>
      <title>Contact strptime date conversion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Contact-strptime-date-conversion/m-p/69396#M17398</link>
      <description>&lt;P&gt;is converted to,2013-03-1 strftime (_time, "%Y-%m-%W").&lt;BR /&gt;
However, the&lt;BR /&gt;
and strptime (strftime (_time, "%Y-%m-%W"), "%Y-%m-%W"), not converted.&lt;/P&gt;

&lt;P&gt;I want to know how to solve.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:33:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Contact-strptime-date-conversion/m-p/69396#M17398</guid>
      <dc:creator>jcisha</dc:creator>
      <dc:date>2020-09-28T13:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Contact strptime date conversion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Contact-strptime-date-conversion/m-p/69397#M17399</link>
      <description>&lt;P&gt;In case you're trying to "round down" a timestamp to the start of the week you should do this instead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eval my_time = relative_time(_time, "@w1")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you consider Sunday to be the start of the week you can use @w or @w0.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2013 13:10:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Contact-strptime-date-conversion/m-p/69397#M17399</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-03-21T13:10:17Z</dc:date>
    </item>
  </channel>
</rss>

