<?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 Read .XLS Date and time modified into SAS dataset in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Read-XLS-Date-and-time-modified-into-SAS-dataset/m-p/613532#M18433</link>
    <description>&lt;P&gt;I have a folder containing multiple excel files that I need to read and combine to one single SAS dataset. Is there a way I can add the modified date and time in my dataset?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;if the excel workbook was saved in a folder on 12/23/19 6:00 AM, can we include " 12/23/19 6:00 AM"&amp;nbsp; in the dataset?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 23 Dec 2019 13:34:34 GMT</pubDate>
    <dc:creator>RADAGBE9</dc:creator>
    <dc:date>2019-12-23T13:34:34Z</dc:date>
    <item>
      <title>Read .XLS Date and time modified into SAS dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Read-XLS-Date-and-time-modified-into-SAS-dataset/m-p/613532#M18433</link>
      <description>&lt;P&gt;I have a folder containing multiple excel files that I need to read and combine to one single SAS dataset. Is there a way I can add the modified date and time in my dataset?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;if the excel workbook was saved in a folder on 12/23/19 6:00 AM, can we include " 12/23/19 6:00 AM"&amp;nbsp; in the dataset?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 13:34:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Read-XLS-Date-and-time-modified-into-SAS-dataset/m-p/613532#M18433</guid>
      <dc:creator>RADAGBE9</dc:creator>
      <dc:date>2019-12-23T13:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Read .XLS Date and time modified into SAS dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Read-XLS-Date-and-time-modified-into-SAS-dataset/m-p/613536#M18434</link>
      <description>&lt;P&gt;Look at the fopen, foptnum, foptname and finfo functions. Or run the appropriate external command to retrieve the information.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 13:57:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Read-XLS-Date-and-time-modified-into-SAS-dataset/m-p/613536#M18434</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-23T13:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Read .XLS Date and time modified into SAS dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Read-XLS-Date-and-time-modified-into-SAS-dataset/m-p/613537#M18435</link>
      <description>&lt;P&gt;how about this code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let target=c:\temp;/* specify target folder including xls files. */
filename cmd pipe "dir /s &amp;amp;target | findstr .xls";
data xlslist;
  infile cmd;
  length dtc $17;
  input;
  dtc=substr(_infile_,1,17);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Dec 2019 14:04:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Read-XLS-Date-and-time-modified-into-SAS-dataset/m-p/613537#M18435</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2019-12-23T14:04:06Z</dc:date>
    </item>
  </channel>
</rss>

