<?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: How to convert TimeRangeView selected values to a human readable format in my dashboard header? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211939#M13228</link>
    <description>&lt;P&gt;Use the moment.js library.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Sep 2015 23:08:11 GMT</pubDate>
    <dc:creator>jandre01</dc:creator>
    <dc:date>2015-09-07T23:08:11Z</dc:date>
    <item>
      <title>How to convert TimeRangeView selected values to a human readable format in my dashboard header?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211934#M13223</link>
      <description>&lt;P&gt;I have a dashboard where I am using TimeRangeView control. &lt;BR /&gt;
I would like to display the TimeRangeView control selected value as human readable format in my dashboard header. &lt;BR /&gt;
&lt;EM&gt;unfortunately, I don't have the option to run a Splunk search in this case.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Ex:&lt;/STRONG&gt;&lt;BR /&gt;
Imagine current time is 14:12:00 03/09/2015, then&lt;BR /&gt;
1) If TimeRangeView control selected value is -1m@m, then it should print as 14:11:00 03/Sep/2015&lt;BR /&gt;
2) If TimeRangeView control selected value is -4h@m, then it should print as 10:12:00 03/Sep/2015&lt;BR /&gt;
3) If TimeRangeView control selected value is -2d@h, then it should print as 14:12:00 01/Sep/2015&lt;/P&gt;

&lt;P&gt;Any help on this is much appreciated.&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2015 08:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211934#M13223</guid>
      <dc:creator>kasu_praveen</dc:creator>
      <dc:date>2015-09-02T08:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert TimeRangeView selected values to a human readable format in my dashboard header?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211935#M13224</link>
      <description>&lt;P&gt;Check if this one works for you: &lt;CODE&gt;... | fieldformat time_field = strftime(time_field, "%H:%M:%S %d/%b/%Y")&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2015 09:25:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211935#M13224</guid>
      <dc:creator>miteshvohra</dc:creator>
      <dc:date>2015-09-02T09:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert TimeRangeView selected values to a human readable format in my dashboard header?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211936#M13225</link>
      <description>&lt;P&gt;Unfortunately, I don't have option to run Splunk search in this case.&lt;BR /&gt;
Anything with Javascript or otherways to convert the TimeRangeView control selected values to epoch time will be helpful&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2015 09:26:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211936#M13225</guid>
      <dc:creator>kasu_praveen</dc:creator>
      <dc:date>2015-09-02T09:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert TimeRangeView selected values to a human readable format in my dashboard header?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211937#M13226</link>
      <description>&lt;P&gt;Please see the following answers link.&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/149173/how-to-wrap-time-picker-tokens-to-always-get-epoch-time-in-search-on-dashboard.html"&gt;http://answers.splunk.com/answers/149173/how-to-wrap-time-picker-tokens-to-always-get-epoch-time-in-search-on-dashboard.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2015 14:08:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211937#M13226</guid>
      <dc:creator>jandre01</dc:creator>
      <dc:date>2015-09-04T14:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert TimeRangeView selected values to a human readable format in my dashboard header?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211938#M13227</link>
      <description>&lt;P&gt;Unfortunately, I don't have option to run Splunk search in this case.&lt;BR /&gt;
Anything with Javascript or otherways to convert the TimeRangeView control selected values to epoch time will be helpful&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2015 08:21:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211938#M13227</guid>
      <dc:creator>kasu_praveen</dc:creator>
      <dc:date>2015-09-07T08:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert TimeRangeView selected values to a human readable format in my dashboard header?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211939#M13228</link>
      <description>&lt;P&gt;Use the moment.js library.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2015 23:08:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211939#M13228</guid>
      <dc:creator>jandre01</dc:creator>
      <dc:date>2015-09-07T23:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert TimeRangeView selected values to a human readable format in my dashboard header?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211940#M13229</link>
      <description>&lt;P&gt;moment.js works in this case. Sorry for delayed response in this forum.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 07:45:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-convert-TimeRangeView-selected-values-to-a-human-readable/m-p/211940#M13229</guid>
      <dc:creator>kasu_praveen</dc:creator>
      <dc:date>2016-05-04T07:45:38Z</dc:date>
    </item>
  </channel>
</rss>

