<?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: Calculating dates in splunk in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-dates-in-splunk/m-p/600890#M209164</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks, has gotten the hang of it, for the format i was using - instead of / as in my format, thanks for all your helps, the whole codes are working now&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 14:36:32 GMT</pubDate>
    <dc:creator>ositaumeozulu</dc:creator>
    <dc:date>2022-06-07T14:36:32Z</dc:date>
    <item>
      <title>How to calculate dates in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-dates-in-splunk/m-p/600869#M209156</link>
      <description>&lt;P&gt;again i wanted to list difference in dates between two periods and i have this code&lt;/P&gt;
&lt;P&gt;| eval LPD = strptime(LastPickupDate, "%m-%d-%Y %H:%M:%S")&lt;BR /&gt;| eval IInT = strptime(IIT, "%m-%d-%Y %H:%M:%S")&lt;BR /&gt;| eval diff = (IInT-LPD)/86400&lt;/P&gt;
&lt;P&gt;| stats list(diff) by FacilityName&lt;/P&gt;
&lt;P&gt;still getting blanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 16:22:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-dates-in-splunk/m-p/600869#M209156</guid>
      <dc:creator>ositaumeozulu</dc:creator>
      <dc:date>2022-06-07T16:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating dates in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-dates-in-splunk/m-p/600871#M209157</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/245944"&gt;@ositaumeozulu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand: in each event you have &lt;SPAN&gt;LastPickupDate and IIT in those formats and FacilityName, is this correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Check if you have all the three fields in each event and check the date formats.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 13:37:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-dates-in-splunk/m-p/600871#M209157</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-07T13:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating dates in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-dates-in-splunk/m-p/600878#M209160</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please let me upload the screenshot of the formats you asked for&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 14:04:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-dates-in-splunk/m-p/600878#M209160</guid>
      <dc:creator>ositaumeozulu</dc:creator>
      <dc:date>2022-06-07T14:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating dates in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-dates-in-splunk/m-p/600890#M209164</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks, has gotten the hang of it, for the format i was using - instead of / as in my format, thanks for all your helps, the whole codes are working now&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 14:36:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-dates-in-splunk/m-p/600890#M209164</guid>
      <dc:creator>ositaumeozulu</dc:creator>
      <dc:date>2022-06-07T14:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating dates in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-dates-in-splunk/m-p/600896#M209166</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/245944"&gt;@ositaumeozulu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Please accept one answer for the other people of Community&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 15:20:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-dates-in-splunk/m-p/600896#M209166</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-07T15:20:52Z</dc:date>
    </item>
  </channel>
</rss>

