<?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: INTNX for hours in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/INTNX-for-hours/m-p/815234#M321787</link>
    <description>&lt;P&gt;INTNX() is for changing by intervals.&amp;nbsp; Not fractions of an interval.&lt;/P&gt;
&lt;P&gt;If you want to subtract an hour and a half just subtract an hour and a half.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;date2= input(date,is8601dt.) - '01:30:00't  ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 26 May 2022 15:04:58 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2022-05-26T15:04:58Z</dc:date>
    <item>
      <title>INTNX for hours</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INTNX-for-hours/m-p/815232#M321786</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Here I want time 1.5 hours before date, but intnx is calculating 2 hours instead. What am I missing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data chkl;&lt;BR /&gt;date="2021-02-01T09:30";&lt;BR /&gt;date2= intnx("hour",input(date,is8601dt.),-1.5,"s");&lt;BR /&gt;format date2 is8601dt.;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 14:57:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INTNX-for-hours/m-p/815232#M321786</guid>
      <dc:creator>Tommer</dc:creator>
      <dc:date>2022-05-26T14:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: INTNX for hours</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INTNX-for-hours/m-p/815234#M321787</link>
      <description>&lt;P&gt;INTNX() is for changing by intervals.&amp;nbsp; Not fractions of an interval.&lt;/P&gt;
&lt;P&gt;If you want to subtract an hour and a half just subtract an hour and a half.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;date2= input(date,is8601dt.) - '01:30:00't  ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 May 2022 15:04:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INTNX-for-hours/m-p/815234#M321787</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-05-26T15:04:58Z</dc:date>
    </item>
  </channel>
</rss>

