<?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 Importing Excel time values that exceed 24 hours in SAS Users Group in Israel</title>
    <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/Importing-Excel-time-values-that-exceed-24-hours/m-p/677972#M89</link>
    <description>&lt;P&gt;Hi All.&lt;/P&gt;
&lt;P&gt;I have an Excel file with time values, some of which exceed 24 hours (for example&amp;nbsp; 113:55:00)&lt;/P&gt;
&lt;P&gt;I am unable to import these values to SAS correctly (value is changed to 17:55:00)&lt;/P&gt;
&lt;P&gt;I tried time20 informat. Any help would be appreciated. Thanks&lt;/P&gt;
&lt;P&gt;SAS Code&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; a &lt;/FONT&gt;&lt;FONT face="Courier New" color="#0000ff"&gt;excel&lt;/FONT&gt; &lt;FONT face="Courier New" color="#800080"&gt;"&amp;amp;a.\new מתוקן חומר לסטטיסטיקאית 15.8.20.xlsx"&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; fix;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color="#0000ff"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; a."Sheet1$"N(dbsastype=(hours_from_admitance_to_surgery=&lt;/FONT&gt;&lt;FONT face="Courier New" color="#800080"&gt;'TIME(20)'&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;));&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color="#0000ff"&gt;rename&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; _____=Complaint ______________=ClinicalImp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color="#0000ff"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; hours_from_admitance_to_surgery &lt;/FONT&gt;&lt;FONT face="Courier New" color="#008080"&gt;time20.&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2020 07:15:10 GMT</pubDate>
    <dc:creator>Tz</dc:creator>
    <dc:date>2020-08-20T07:15:10Z</dc:date>
    <item>
      <title>Importing Excel time values that exceed 24 hours</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/Importing-Excel-time-values-that-exceed-24-hours/m-p/677972#M89</link>
      <description>&lt;P&gt;Hi All.&lt;/P&gt;
&lt;P&gt;I have an Excel file with time values, some of which exceed 24 hours (for example&amp;nbsp; 113:55:00)&lt;/P&gt;
&lt;P&gt;I am unable to import these values to SAS correctly (value is changed to 17:55:00)&lt;/P&gt;
&lt;P&gt;I tried time20 informat. Any help would be appreciated. Thanks&lt;/P&gt;
&lt;P&gt;SAS Code&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; a &lt;/FONT&gt;&lt;FONT face="Courier New" color="#0000ff"&gt;excel&lt;/FONT&gt; &lt;FONT face="Courier New" color="#800080"&gt;"&amp;amp;a.\new מתוקן חומר לסטטיסטיקאית 15.8.20.xlsx"&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; fix;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color="#0000ff"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; a."Sheet1$"N(dbsastype=(hours_from_admitance_to_surgery=&lt;/FONT&gt;&lt;FONT face="Courier New" color="#800080"&gt;'TIME(20)'&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;));&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color="#0000ff"&gt;rename&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; _____=Complaint ______________=ClinicalImp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color="#0000ff"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; hours_from_admitance_to_surgery &lt;/FONT&gt;&lt;FONT face="Courier New" color="#008080"&gt;time20.&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 07:15:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/Importing-Excel-time-values-that-exceed-24-hours/m-p/677972#M89</guid>
      <dc:creator>Tz</dc:creator>
      <dc:date>2020-08-20T07:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Excel time values that exceed 24 hours</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/Importing-Excel-time-values-that-exceed-24-hours/m-p/677986#M90</link>
      <description>&lt;P class="lia-align-right" style="direction: rtl;"&gt;שלום&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/47785"&gt;@Tz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;מאחר וזו קבוצת משתמשי SAS &lt;STRONG&gt;בישראל&lt;/STRONG&gt; אני מניח שזה בסדר לענות בעברית.&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;האם ניסית (כמעקף) לייבא את האקסל באמצעות PROC IMPORT במקום libname?&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;אייל&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 08:13:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/Importing-Excel-time-values-that-exceed-24-hours/m-p/677986#M90</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2020-08-20T08:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Excel time values that exceed 24 hours</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/Importing-Excel-time-values-that-exceed-24-hours/m-p/677988#M91</link>
      <description>&lt;P&gt;תודה אייל.&lt;/P&gt;
&lt;P&gt;ניסיתי&amp;nbsp; Proc Import.&lt;/P&gt;
&lt;P&gt;לא עבד&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 08:18:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/Importing-Excel-time-values-that-exceed-24-hours/m-p/677988#M91</guid>
      <dc:creator>Tz</dc:creator>
      <dc:date>2020-08-20T08:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Excel time values that exceed 24 hours</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/Importing-Excel-time-values-that-exceed-24-hours/m-p/677991#M92</link>
      <description>&lt;P class="lia-align-right" style="direction: rtl;"&gt;שלום&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/47785"&gt;@Tz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;בדקתי הרגע אצלי ונראה שזה כן עובד. אני מצרף את האקסל שיצרתי + קוד SAS שבאמצעותו ייבאתי את האקסל.&lt;/P&gt;
&lt;P class="lia-align-left" style="direction: ltr;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import file="c:\temp\book1.xlsx" dbms="xlsx" out=work.book1 replace;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;אייל&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 08:41:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/Importing-Excel-time-values-that-exceed-24-hours/m-p/677991#M92</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2020-08-20T08:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Excel time values that exceed 24 hours</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/Importing-Excel-time-values-that-exceed-24-hours/m-p/678008#M93</link>
      <description>&lt;P&gt;Import did not work on my file.&lt;/P&gt;
&lt;P&gt;I saved it as csv - problem solved&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 09:06:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/Importing-Excel-time-values-that-exceed-24-hours/m-p/678008#M93</guid>
      <dc:creator>Tz</dc:creator>
      <dc:date>2020-08-20T09:06:22Z</dc:date>
    </item>
  </channel>
</rss>

