<?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: Correct strptime argument in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-strptime-argument/m-p/642408#M222535</link>
    <description>&lt;P&gt;Perfect thank you! It was the %Q i was missing. Much appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 05 May 2023 14:37:29 GMT</pubDate>
    <dc:creator>superisk</dc:creator>
    <dc:date>2023-05-05T14:37:29Z</dc:date>
    <item>
      <title>What is the correct strptime argument?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-strptime-argument/m-p/642405#M222532</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I am confident with strptime/strftime but i'm really struggling with the correct strptime argument for the following date/time format -&lt;/P&gt;
&lt;P&gt;2023-01-25T21:32:04:501+0000&lt;/P&gt;
&lt;P&gt;The T between date and time is causing me issues. Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 15:30:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-strptime-argument/m-p/642405#M222532</guid>
      <dc:creator>superisk</dc:creator>
      <dc:date>2023-05-05T15:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Correct strptime argument</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-strptime-argument/m-p/642406#M222533</link>
      <description>&lt;P&gt;Are you getting an error? Adding a "T" in the format is allowed, the following works for me:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval example="2023-01-25T21:32:04:501+0000"
| eval parsed_dt=strptime(example, "%Y-%m-%dT%H:%M:%S:%Q%z")
| eval parsed_s=strftime(parsed_dt, "%Y-%m-%dT%H:%M:%S:%Q%z")&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 05 May 2023 13:36:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-strptime-argument/m-p/642406#M222533</guid>
      <dc:creator>rut</dc:creator>
      <dc:date>2023-05-05T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Correct strptime argument</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-strptime-argument/m-p/642408#M222535</link>
      <description>&lt;P&gt;Perfect thank you! It was the %Q i was missing. Much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 14:37:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-correct-strptime-argument/m-p/642408#M222535</guid>
      <dc:creator>superisk</dc:creator>
      <dc:date>2023-05-05T14:37:29Z</dc:date>
    </item>
  </channel>
</rss>

