<?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: Proc Import of Date Variables from an Excel XLSX file are coming into my dataset as random numbe in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-of-Date-Variables-from-an-Excel-XLSX-file-are-coming/m-p/686868#M208475</link>
    <description>The solution wasn't exactly this but it led me on the right track: I replaced the word "NULL" from the excel spreadsheet and reran the SAS program. My date fields were then imported properly.</description>
    <pubDate>Sat, 26 Sep 2020 00:51:07 GMT</pubDate>
    <dc:creator>InspectahDex</dc:creator>
    <dc:date>2020-09-26T00:51:07Z</dc:date>
    <item>
      <title>Proc Import of Date Variables from an Excel XLSX file are coming into my dataset as random numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-of-Date-Variables-from-an-Excel-XLSX-file-are-coming/m-p/686862#M208472</link>
      <description>&lt;P&gt;I have an excel spreadsheet (.xlsx) that has a few fields that are supposed to be dates. Most cells are in a MM/DD/YYYY format but there are other cells that have the word "NULL".&amp;nbsp; When I do a PROC IMPORT, all of the fields come in as character variables and all of the date values are turned into random numbers like 34563. How can I import these date values as the values that they are using PROC IMPORT? Guessingrows doesn't work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 23:35:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-of-Date-Variables-from-an-Excel-XLSX-file-are-coming/m-p/686862#M208472</guid>
      <dc:creator>InspectahDex</dc:creator>
      <dc:date>2020-09-25T23:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import of Date Variables from an Excel XLSX file are coming into my dataset as random numbe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-of-Date-Variables-from-an-Excel-XLSX-file-are-coming/m-p/686864#M208473</link>
      <description>&lt;P&gt;Change the Excel column type of the date columns to "Date" and see if that helps. Having non-missing dates in the first few rows may also help.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 00:04:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-of-Date-Variables-from-an-Excel-XLSX-file-are-coming/m-p/686864#M208473</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-09-26T00:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import of Date Variables from an Excel XLSX file are coming into my dataset as random numbe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-of-Date-Variables-from-an-Excel-XLSX-file-are-coming/m-p/686868#M208475</link>
      <description>The solution wasn't exactly this but it led me on the right track: I replaced the word "NULL" from the excel spreadsheet and reran the SAS program. My date fields were then imported properly.</description>
      <pubDate>Sat, 26 Sep 2020 00:51:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-of-Date-Variables-from-an-Excel-XLSX-file-are-coming/m-p/686868#M208475</guid>
      <dc:creator>InspectahDex</dc:creator>
      <dc:date>2020-09-26T00:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import of Date Variables from an Excel XLSX file are coming into my dataset as random numbe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-of-Date-Variables-from-an-Excel-XLSX-file-are-coming/m-p/686884#M208481</link>
      <description>&lt;P&gt;OK. The typical I'll accept anything you type into a column problem with Excel. AFAIK you can't "lock" the type of column to only accept valid data for that type.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 03:33:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-of-Date-Variables-from-an-Excel-XLSX-file-are-coming/m-p/686884#M208481</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-09-26T03:33:39Z</dc:date>
    </item>
  </channel>
</rss>

