<?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 how to pick difference between two datetime variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-pick-difference-between-two-datetime-variables/m-p/608714#M177177</link>
    <description>&lt;P&gt;data ex ;&lt;BR /&gt;input dob:datetime15. start:datetime15. ;&lt;BR /&gt;format dob start&amp;nbsp; datetime15. ;&lt;BR /&gt;cards ;&lt;BR /&gt;9oct2019:12:50:00 9oct2019:13:55:00&lt;/P&gt;
&lt;P&gt;9oct2019:12:50:00 10oct2019:13:55:00&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to do difference between two datetime vaiables&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ex:&amp;nbsp; &amp;nbsp;1)01:05(one hour and five minutes)&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2019 14:51:27 GMT</pubDate>
    <dc:creator>thanikondharish</dc:creator>
    <dc:date>2019-12-02T14:51:27Z</dc:date>
    <item>
      <title>how to pick difference between two datetime variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-pick-difference-between-two-datetime-variables/m-p/608714#M177177</link>
      <description>&lt;P&gt;data ex ;&lt;BR /&gt;input dob:datetime15. start:datetime15. ;&lt;BR /&gt;format dob start&amp;nbsp; datetime15. ;&lt;BR /&gt;cards ;&lt;BR /&gt;9oct2019:12:50:00 9oct2019:13:55:00&lt;/P&gt;
&lt;P&gt;9oct2019:12:50:00 10oct2019:13:55:00&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to do difference between two datetime vaiables&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ex:&amp;nbsp; &amp;nbsp;1)01:05(one hour and five minutes)&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 14:51:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-pick-difference-between-two-datetime-variables/m-p/608714#M177177</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2019-12-02T14:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to pick difference between two datetime variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-pick-difference-between-two-datetime-variables/m-p/608723#M177181</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data ex ;
input dob:datetime15. start:datetime15. ;
diff=start-dob;
format dob start  datetime15. diff time.;
cards ;
9oct2019:12:50:00 9oct2019:13:55:00
9oct2019:12:50:00 10oct2019:13:55:00
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The difference is a straight subtraction, then you want the difference to be formatted into some format you happen to like.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 15:07:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-pick-difference-between-two-datetime-variables/m-p/608723#M177181</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-02T15:07:03Z</dc:date>
    </item>
  </channel>
</rss>

