<?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 many hours played in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-many-hours-played/m-p/196855#M14901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2015 19:54:28 GMT</pubDate>
    <dc:creator>sdang</dc:creator>
    <dc:date>2015-04-15T19:54:28Z</dc:date>
    <item>
      <title>How many hours played</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-many-hours-played/m-p/196851#M14897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a column, TimePlayed, and its value is in second.&amp;nbsp; How do I convert that to hours.&amp;nbsp; I used the function HOUR but I don't it give me the correct value.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/10045_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;Furthermore ,I have two columns indicating the start time and end time if there is any way to get hours played.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/10046_Capture.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 19:28:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-many-hours-played/m-p/196851#M14897</guid>
      <dc:creator>sdang</dc:creator>
      <dc:date>2015-04-15T19:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: How many hours played</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-many-hours-played/m-p/196852#M14898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If timeplayed is in seconds then code:&lt;/P&gt;&lt;P&gt;hoursplayed = timeplayed/ 3600;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you need whole hours or fractions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The HOUR function returns the value of the hour portion of a datetime or time variable. For your first example of StartTime the hour function would return 16.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the function INTCK with two datetime variables to return the number of hour intervals but may not provide what your are looking for if you want fractions of an hour.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 19:40:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-many-hours-played/m-p/196852#M14898</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-15T19:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: How many hours played</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-many-hours-played/m-p/196853#M14899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or if you just want to see the number of seconds as the number of hours, use the time8. format on the number of seconds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 19:45:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-many-hours-played/m-p/196853#M14899</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2015-04-15T19:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: How many hours played</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-many-hours-played/m-p/196854#M14900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if both of your variables are datetime you can subtract them to get a duration of time played which would be in seconds. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;duration=end_time-start_time;&lt;/P&gt;&lt;P&gt;format duration time8.;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 19:51:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-many-hours-played/m-p/196854#M14900</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-04-15T19:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: How many hours played</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-many-hours-played/m-p/196855#M14901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 19:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-many-hours-played/m-p/196855#M14901</guid>
      <dc:creator>sdang</dc:creator>
      <dc:date>2015-04-15T19:54:28Z</dc:date>
    </item>
  </channel>
</rss>

