<?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 time8. to numeric value in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-time8-to-numeric-value/m-p/300393#M63437</link>
    <description>&lt;P&gt;There are a number functions SAS provides to manipulate Time and date values such as INTNX (increment values); INTCK (return intervals); HOUR,&amp;nbsp;MINUTE and SECOND&amp;nbsp;to return the hour, minute or seconds value from a Time varialbe; M&amp;nbsp;HMS to create a time value from hour, minute and second values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are also a number of different SAS supplied&amp;nbsp;formats to display time values with different appearance and Proc Format can create custom formats to display the values in others.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2016 14:46:35 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-09-23T14:46:35Z</dc:date>
    <item>
      <title>How to convert time8. to numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-time8-to-numeric-value/m-p/300375#M63431</link>
      <description>&lt;P&gt;How can i convert value in time8. format to numeric ?&lt;/P&gt;
&lt;P&gt;Please write if you need more clarification&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 13:58:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-time8-to-numeric-value/m-p/300375#M63431</guid>
      <dc:creator>nikunjgattani</dc:creator>
      <dc:date>2016-09-23T13:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert time8. to numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-time8-to-numeric-value/m-p/300381#M63432</link>
      <description>&lt;P&gt;SAS time values are numeric, meaning you can do math on them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That said, try something like this. You can change 8. to another numeric format.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data WORK.time_test;
    format time time8.;
    time = "14:04:46"t;
    put time;
    format time2 8.;
    time2 = time;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Output data set:&lt;/P&gt;&lt;P&gt;time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time2&lt;/P&gt;&lt;P&gt;14:04:46&amp;nbsp;&amp;nbsp; &amp;nbsp;50686&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 14:09:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-time8-to-numeric-value/m-p/300381#M63432</guid>
      <dc:creator>paulkaefer</dc:creator>
      <dc:date>2016-09-23T14:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert time8. to numeric value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-time8-to-numeric-value/m-p/300393#M63437</link>
      <description>&lt;P&gt;There are a number functions SAS provides to manipulate Time and date values such as INTNX (increment values); INTCK (return intervals); HOUR,&amp;nbsp;MINUTE and SECOND&amp;nbsp;to return the hour, minute or seconds value from a Time varialbe; M&amp;nbsp;HMS to create a time value from hour, minute and second values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are also a number of different SAS supplied&amp;nbsp;formats to display time values with different appearance and Proc Format can create custom formats to display the values in others.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 14:46:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-time8-to-numeric-value/m-p/300393#M63437</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-23T14:46:35Z</dc:date>
    </item>
  </channel>
</rss>

