<?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>Vortex Tracker</title>
    <link>https://communities.sas.com/kntur85557/tracker</link>
    <description>Vortex Tracker</description>
    <pubDate>Thu, 14 May 2026 19:56:22 GMT</pubDate>
    <dc:date>2026-05-14T19:56:22Z</dc:date>
    <item>
      <title>Re: How many hours each month</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-many-hours-each-month/m-p/215952#M53119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thank you for your help Xia.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tried with checkin date time April 4, 2014 17:25 and checkout datetime April 30, 2014 23:59 the hours are a bit off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the code above I got 635 hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this website to do the calculation and it came with 630 hours not sure what they meant by rounding down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.timeanddate.com/date/durationresult.html?m1=4&amp;amp;d1=4&amp;amp;y1=2014&amp;amp;m2=4&amp;amp;d2=30&amp;amp;y2=2014&amp;amp;h1=17&amp;amp;i1=25&amp;amp;s1=0&amp;amp;h2=23&amp;amp;i2=59&amp;amp;s2=59"&gt;http://www.timeanddate.com/date/durationresult.html?m1=4&amp;amp;d1=4&amp;amp;y1=2014&amp;amp;m2=4&amp;amp;d2=30&amp;amp;y2=2014&amp;amp;h1=17&amp;amp;i1=25&amp;amp;s1=0&amp;amp;h2=23&amp;amp;i2=59&amp;amp;s2=59&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the timestamp but I don't think it should matter since the area and visit_number is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="279"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="127"&gt;Checkin Date/Time&lt;/TD&gt;&lt;TD width="152"&gt;Checkout Date/Time&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="279"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" width="127"&gt;4/4/2014 17:25&lt;/TD&gt;&lt;TD align="right" class="xl65" width="152"&gt;4/14/2014 11:08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20"&gt;4/14/2014 11:08&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;4/14/2014 11:10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20"&gt;4/14/2014 11:10&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;4/16/2014 10:44&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20"&gt;4/16/2014 10:44&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;4/21/2014 8:12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20"&gt;4/21/2014 8:12&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;4/23/2014 14:35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20"&gt;4/23/2014 14:35&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;4/27/2014 16:47&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20"&gt;4/27/2014 16:47&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;4/29/2014 21:38&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20"&gt;4/29/2014 21:38&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;5/3/2014 0:15&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 14:27:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-many-hours-each-month/m-p/215952#M53119</guid>
      <dc:creator>Vortex</dc:creator>
      <dc:date>2015-05-19T14:27:38Z</dc:date>
    </item>
    <item>
      <title>How many hours each month</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-many-hours-each-month/m-p/215950#M53117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I received a request where the customer wants me to show how many hours the patient stayed in each month.&lt;/P&gt;&lt;P&gt;Here is an example:Patient was here January 1st 2:00 pm and discharge February 2nd 1:00AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should become like this:&lt;/P&gt;&lt;P&gt;January: 730 hours (10 hours on January 1st + 30 days *24 hours per day)&lt;/P&gt;&lt;P&gt;February 25 hours (24 hours on February 1st and 1 hour on February 2nd).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you cannot figure out a way, I would be greatly appreciated if you can at least provide me information how to calculate the number of hours patient stayed on first and last day (10 hours on January 1st and 1 hour on February 2nd). I have a way to calculate the hours between January 2nd&amp;nbsp; and February 1st. I am having problems in getting the hours to midnight for first day and midnight to discharge datetime for the last day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried intck with 'end', 'b' but I keep getting error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is sample of the checkin and checkout datetime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CheckinDate: 01JAN2014:2:00:00PM&lt;/P&gt;&lt;P&gt;CheckoutDate: 02FEB2014:1:00:00AM&lt;/P&gt;&lt;P&gt;THis is a followup after this post I have posted &lt;A __default_attr="270671" __jive_macro_name="message" class="jive_macro jive_macro_message active_link" href="https://communities.sas.com/" modifiedtitle="true" title="Re: Finding number of days each month between dates"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This time the requester wants number of hours instead of number of days each month. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 05:22:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-many-hours-each-month/m-p/215950#M53117</guid>
      <dc:creator>Vortex</dc:creator>
      <dc:date>2015-05-17T05:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Finding number of days each month between dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-number-of-days-each-month-between-dates/m-p/207218#M38541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey RW9, I just tried and yes I can use it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 14:20:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-number-of-days-each-month-between-dates/m-p/207218#M38541</guid>
      <dc:creator>Vortex</dc:creator>
      <dc:date>2015-04-30T14:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Finding number of days each month between dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-number-of-days-each-month-between-dates/m-p/207217#M38540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are some sample data:&lt;/P&gt;&lt;P&gt;Visit Number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Checkin Date&amp;nbsp; CheckoutDate&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 244px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" height="20" width="94"&gt;2342&lt;/TD&gt;&lt;TD align="right" class="xl63" width="75"&gt;12/25/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" width="75"&gt;1/6/2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1234&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;12/27/2014&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1/1/2015&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should be this:&lt;/P&gt;&lt;P&gt;Visit Number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Checkin Date&amp;nbsp; CheckoutDate&amp;nbsp;&amp;nbsp; Dec 2014&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan 2015&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="49" style="width: 414px; height: 46px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" height="20" width="94"&gt;2342&lt;/TD&gt;&lt;TD align="right" class="xl65" width="75"&gt;12/25/2014&lt;/TD&gt;&lt;TD align="right" class="xl65" width="75"&gt;1/6/2015&lt;/TD&gt;&lt;TD align="right" width="64"&gt;7&lt;/TD&gt;&lt;TD align="right" width="64"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1234&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;12/27/2014&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;1/1/2015&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 14:10:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-number-of-days-each-month-between-dates/m-p/207217#M38540</guid>
      <dc:creator>Vortex</dc:creator>
      <dc:date>2015-04-30T14:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Finding number of days each month between dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-number-of-days-each-month-between-dates/m-p/207215#M38538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry the link didn't show up:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://communities.sas.com/thread/51733" title="https://communities.sas.com/thread/51733"&gt;https://communities.sas.com/thread/51733&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to find another code that does similar to this. The issue with this it does not work for cross year boundaries i.e December 2014 and January 2015&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 13:42:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-number-of-days-each-month-between-dates/m-p/207215#M38538</guid>
      <dc:creator>Vortex</dc:creator>
      <dc:date>2015-04-30T13:42:26Z</dc:date>
    </item>
    <item>
      <title>Finding number of days each month between dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-number-of-days-each-month-between-dates/m-p/207212#M38535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am looking for a code that does the feature by JP in this thread. The issue is that if the year of the start and end date is different it does not work.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="51733" __jive_macro_name="thread" class="jive_macro jive_macro_thread" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Example, Dec 2, 2014 and ends January 3, 2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 13:31:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-number-of-days-each-month-between-dates/m-p/207212#M38535</guid>
      <dc:creator>Vortex</dc:creator>
      <dc:date>2015-04-30T13:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Building an array of days in months, based off two dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Building-an-array-of-days-in-months-based-off-two-dates/m-p/176850#M33861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I was wondering if there is&amp;nbsp; code that does similar to the code Astounding provided but it can cross year boundaries such as December 13, 2014 to January 12, 2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 13:29:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Building-an-array-of-days-in-months-based-off-two-dates/m-p/176850#M33861</guid>
      <dc:creator>Vortex</dc:creator>
      <dc:date>2015-04-30T13:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert character datetime to numeric datetime?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-datetime-to-numeric-datetime/m-p/177966#M34041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thank you. I tried your's but the day and the month got switched.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:48:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-datetime-to-numeric-datetime/m-p/177966#M34041</guid>
      <dc:creator>Vortex</dc:creator>
      <dc:date>2014-07-15T14:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert character datetime to numeric datetime?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-datetime-to-numeric-datetime/m-p/177965#M34040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thank you the one by user24feb works. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 14:47:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-datetime-to-numeric-datetime/m-p/177965#M34040</guid>
      <dc:creator>Vortex</dc:creator>
      <dc:date>2014-07-15T14:47:35Z</dc:date>
    </item>
    <item>
      <title>How to convert character datetime to numeric datetime?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-datetime-to-numeric-datetime/m-p/177960#M34035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="postcontent restore "&gt;I have a file in Excel that I use to import the data into SAS.&lt;P&gt;&lt;/P&gt;The format of the data in the Excel is this:&lt;BR /&gt;28-05-2014 10:21:20&lt;BR /&gt;27-05-2014 14:22:26&lt;BR /&gt;27-05-2014 11:36:33&lt;BR /&gt;27-05-2014 17:14:55&lt;BR /&gt;27-05-2014 10:34:56&lt;BR /&gt;27-05-2014 19:03:48&lt;BR /&gt;27-05-2014 14:30:56&lt;P&gt;&lt;/P&gt;In SAS, the type is text, length is 19 and format is $19.&lt;P&gt;&lt;/P&gt;I am using this column to admission date which looks like this 08JUL2013:08:22:00. Therefore I would like to convert the above datetime to this format 28MAY2014:10:21:20 or 28MAY2014:10:21:00&lt;P&gt;&lt;/P&gt;Please let me know what I should do?&lt;P&gt;&lt;/P&gt;THank you &lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 02:24:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-datetime-to-numeric-datetime/m-p/177960#M34035</guid>
      <dc:creator>Vortex</dc:creator>
      <dc:date>2014-07-14T02:24:20Z</dc:date>
    </item>
  </channel>
</rss>

