<?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: Calculating elapsed time over a (spring or fall) time change in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Calculating-elapsed-time-over-a-spring-or-fall-time-change/m-p/301604#M63863</link>
    <description>&lt;P&gt;Ok, thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2016 18:54:21 GMT</pubDate>
    <dc:creator>evp000</dc:creator>
    <dc:date>2016-09-29T18:54:21Z</dc:date>
    <item>
      <title>Calculating elapsed time over a (spring or fall) time change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Calculating-elapsed-time-over-a-spring-or-fall-time-change/m-p/301549#M63838</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;I was wondering what your suggestions would be in calculating the actual elapsed time between two timepoints when a time change occurs between them. &amp;nbsp;In the past I've done this manually:&lt;/P&gt;
&lt;P&gt;- calculate the difference (in hours) using the start datetime and end datetime.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-if the start point was prior to the time change and the end point was after the time change, add or subtract 1 hour (depending on whether it's spring or fall).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would&amp;nbsp;&lt;SPAN&gt; INTCK('hour',startdatetime, enddatetime) somehow be able to take the time change&amp;nbsp;into consideration? &amp;nbsp;I realize this is location-specific.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for your input.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 15:17:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Calculating-elapsed-time-over-a-spring-or-fall-time-change/m-p/301549#M63838</guid>
      <dc:creator>evp000</dc:creator>
      <dc:date>2016-09-29T15:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating elapsed time over a (spring or fall) time change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Calculating-elapsed-time-over-a-spring-or-fall-time-change/m-p/301553#M63840</link>
      <description>&lt;P&gt;The arguments need for INTCK are not enough.&lt;/P&gt;&lt;P&gt;To calculate elapse hours is depnedet also on place, i.e. COUNTRY and sometime even REGION/STATE.&lt;/P&gt;&lt;P&gt;In some countries the change dates are dynamic according to political decisions, which make it even more complicate.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 15:40:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Calculating-elapsed-time-over-a-spring-or-fall-time-change/m-p/301553#M63840</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2016-09-29T15:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating elapsed time over a (spring or fall) time change</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Calculating-elapsed-time-over-a-spring-or-fall-time-change/m-p/301604#M63863</link>
      <description>&lt;P&gt;Ok, thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 18:54:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Calculating-elapsed-time-over-a-spring-or-fall-time-change/m-p/301604#M63863</guid>
      <dc:creator>evp000</dc:creator>
      <dc:date>2016-09-29T18:54:21Z</dc:date>
    </item>
  </channel>
</rss>

