<?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: Elapsed Time - hh:mm:ss in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Elapsed-Time-hh-mm-ss/m-p/760974#M15152</link>
    <description>&lt;P&gt;Just to rule something out-- I know the column name is "Average time to completion", but can you check that the aggregation on the column is set to Average?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
    <pubDate>Wed, 11 Aug 2021 17:45:21 GMT</pubDate>
    <dc:creator>Sam_SAS</dc:creator>
    <dc:date>2021-08-11T17:45:21Z</dc:date>
    <item>
      <title>Elapsed Time - hh:mm:ss</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Elapsed-Time-hh-mm-ss/m-p/760887#M15150</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to get the following values into SAS VA using elapsed time formatting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kamohelo_0-1628678731597.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62477i428259E85AE68728/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kamohelo_0-1628678731597.png" alt="Kamohelo_0-1628678731597.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I am getting this results within SAS VA:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kamohelo_1-1628678847148.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62478iC246B74ED5077D3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kamohelo_1-1628678847148.png" alt="Kamohelo_1-1628678847148.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to get the time values as shown on the 1st screenshot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 10:49:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Elapsed-Time-hh-mm-ss/m-p/760887#M15150</guid>
      <dc:creator>Kamohelo</dc:creator>
      <dc:date>2021-08-11T10:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Elapsed Time - hh:mm:ss</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Elapsed-Time-hh-mm-ss/m-p/760923#M15151</link>
      <description>&lt;P&gt;What is the source of the elapsed times?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you getting it from outside SAS?&amp;nbsp; If it's from outside SAS (Excel for example), the representation can be different and a conversion is necessary.&amp;nbsp; Again using Excel as an example, Excel bases everything off of Jan 1, 1900.&amp;nbsp; SAS, on the other hand, bases everything off of Jan 1, 1960.&amp;nbsp; Excel date-times will appear to be far in the future in SAS if not converted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inside SAS, normally one just subtracts the ending date-time value from the starting date-time value.&amp;nbsp; I typically use the format&amp;nbsp;TIME13.2 with elapsed times.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%LET	Start_Datetime	=	%SYSFUNC(INPUTN('07sep2018:23:00:00'dt, DATETIME18.));
%LET	End_DateTime	=	%SYSFUNC(INPUTN('08sep2018:01:00:00'dt, DATETIME18.));
%PUT	%SYSFUNC(COMPRESS(%SYSFUNC(PUTN(%SYSEVALF(&amp;amp;End_DateTime - &amp;amp;Start_DateTime),	TIME13.2))));
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Results in:&lt;/P&gt;
&lt;PRE&gt;2:00:00.00&lt;/PRE&gt;
&lt;P&gt;Indicating that 2 hours, 0 minutes, and 0 seconds have elapsed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 14:40:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Elapsed-Time-hh-mm-ss/m-p/760923#M15151</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-08-11T14:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Elapsed Time - hh:mm:ss</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Elapsed-Time-hh-mm-ss/m-p/760974#M15152</link>
      <description>&lt;P&gt;Just to rule something out-- I know the column name is "Average time to completion", but can you check that the aggregation on the column is set to Average?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 17:45:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Elapsed-Time-hh-mm-ss/m-p/760974#M15152</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2021-08-11T17:45:21Z</dc:date>
    </item>
  </channel>
</rss>

