<?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 intck with timestamp in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/intck-with-timestamp/m-p/699667#M214028</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;dm 'log;clear;odsresults;clear';

data d;
start_date='18Nov2014'd ;
format start_date date9.;
current_date='18Nov2020'd ;
format current_date date9.;
years=intck('Year' ,start_date,current_date);
months=intck('Month',start_date,current_date);
days= intck('Day',start_date,current_date);
hours=intck('hour','22:10:00't ,1)	;
proc print;run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here I want to get hour minute second from start_date and current_date why it gives 22 hours&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 04:56:59 GMT</pubDate>
    <dc:creator>BrahmanandaRao</dc:creator>
    <dc:date>2020-11-18T04:56:59Z</dc:date>
    <item>
      <title>intck with timestamp</title>
      <link>https://communities.sas.com/t5/SAS-Programming/intck-with-timestamp/m-p/699667#M214028</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;dm 'log;clear;odsresults;clear';

data d;
start_date='18Nov2014'd ;
format start_date date9.;
current_date='18Nov2020'd ;
format current_date date9.;
years=intck('Year' ,start_date,current_date);
months=intck('Month',start_date,current_date);
days= intck('Day',start_date,current_date);
hours=intck('hour','22:10:00't ,1)	;
proc print;run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here I want to get hour minute second from start_date and current_date why it gives 22 hours&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 04:56:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/intck-with-timestamp/m-p/699667#M214028</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-11-18T04:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: intck with timestamp</title>
      <link>https://communities.sas.com/t5/SAS-Programming/intck-with-timestamp/m-p/699671#M214029</link>
      <description>&lt;P&gt;'hour' is a time interval, times are counts of seconds. 1 translates to 00:00:01, so you have 22 hour boundaries between that and 22:10:00.&lt;/P&gt;
&lt;P&gt;If you want the difference between&amp;nbsp;&lt;EM&gt;dates&lt;/EM&gt; (there are no timestamp/datetime values in your code) expressed as hours, multiply the day difference by 24.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 05:40:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/intck-with-timestamp/m-p/699671#M214029</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-11-18T05:40:42Z</dc:date>
    </item>
  </channel>
</rss>

