<?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: convert time format in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/convert-time-format/m-p/688604#M114669</link>
    <description>&lt;P&gt;This run-anywhere example should explain the process.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval STime="9:45"
| rex field=STime "(?&amp;lt;hrs&amp;gt;\d+):(?&amp;lt;mins&amp;gt;\d+)"
| eval Hours=hrs + round(mins/60,2)&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 24 May 2024 12:34:17 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2024-05-24T12:34:17Z</dc:date>
    <item>
      <title>convert time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/convert-time-format/m-p/688593#M114667</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a splunk query returning output as:&lt;/P&gt;&lt;P&gt;STime&lt;/P&gt;&lt;P&gt;09:45&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to convert it to hours. Expected output:&lt;/P&gt;&lt;P&gt;STime&lt;/P&gt;&lt;P&gt;9.75 hrs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I achieve this using splunk&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 09:45:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/convert-time-format/m-p/688593#M114667</guid>
      <dc:creator>avi123</dc:creator>
      <dc:date>2024-05-24T09:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: convert time format</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/convert-time-format/m-p/688604#M114669</link>
      <description>&lt;P&gt;This run-anywhere example should explain the process.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval STime="9:45"
| rex field=STime "(?&amp;lt;hrs&amp;gt;\d+):(?&amp;lt;mins&amp;gt;\d+)"
| eval Hours=hrs + round(mins/60,2)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 24 May 2024 12:34:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/convert-time-format/m-p/688604#M114669</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-05-24T12:34:17Z</dc:date>
    </item>
  </channel>
</rss>

