<?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: Why are my dates showing up as asterisks? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327880#M271656</link>
    <description>A date column presenting with asterisks is not missing - it is outside the valid numeric range  for a SAS date (something like 1Jan1582 to 31Dec20000)&lt;BR /&gt;One way this happens: a datetime value is formatted as a date - some SAS ACCESS routines can cause this.&lt;BR /&gt;</description>
    <pubDate>Thu, 26 Jan 2017 22:41:39 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2017-01-26T22:41:39Z</dc:date>
    <item>
      <title>Why are my dates showing up as asterisks?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327219#M271651</link>
      <description>&lt;P&gt;I have had to import a number of csv files an di have successful appended all of them. Before being able to append them I had to convert all my date variables into SAS date variables (format DATE9.).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought all was good until I exported my appended dataset and discovered that all my date variables are showing up as asterisks. However, when I open up the viewtable in SAS I can still see values there (e.g., 20160131)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why are all my values showing up as asterisks when I export as an excel or csv? And why are they showing up semi-normally in the SAS viewtable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do I need to do to have the dates work properly so that I can run analyses on them?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 23:32:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327219#M271651</guid>
      <dc:creator>confused_saser</dc:creator>
      <dc:date>2017-01-24T23:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dates showing up as asterisks?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327222#M271652</link>
      <description>&lt;P&gt;Make sure that you're viewing the CSV in a text editor to verify if the issue is with the SAS Export or Excel interpretation of the file&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't say how you exported the file, but they usually show up as asterisks when the width isn't wide enough to hold the value. If you're looking at the data in excel they'll show up as hashtags&amp;nbsp;if the column isn't wide enough as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 23:38:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327222#M271652</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-24T23:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dates showing up as asterisks?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327226#M271653</link>
      <description>&lt;P&gt;I will be a large number of $$ that your value is a numeric with the value of 20160131 which is not a DATE value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see this code snippet on how to make such a number into a date.&lt;/P&gt;
&lt;PRE&gt;data _null_;
   x=20160131;
   x = input(put(x,f8.0),yymmdd8.);

   put x mmddyy10.;
run;
&lt;/PRE&gt;
&lt;P&gt;t&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 15:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327226#M271653</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-26T15:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dates showing up as asterisks?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327418#M271654</link>
      <description>&lt;P&gt;I have a way easier way of solving this problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before I imported all my csv files I converted all my date variables into EXCEL DATES FIRST using the text to column function in excel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This solved EVERYTHING!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 16:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327418#M271654</guid>
      <dc:creator>confused_saser</dc:creator>
      <dc:date>2017-01-25T16:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dates showing up as asterisks?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327747#M271655</link>
      <description>&lt;P&gt;If the file was orginally CSV and you edit it with Excel you want to go over the results with a fine tooth comb to make sure the correct date conversion was applied.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also Excel is known to change some types of character values to numerics under some circumstances. So account or product&amp;nbsp;"numbers" that look like 45-123 end up with "values" of -78 or 1-5 comes a "date" of May 1 in the current year.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 15:56:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327747#M271655</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-26T15:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dates showing up as asterisks?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327880#M271656</link>
      <description>A date column presenting with asterisks is not missing - it is outside the valid numeric range  for a SAS date (something like 1Jan1582 to 31Dec20000)&lt;BR /&gt;One way this happens: a datetime value is formatted as a date - some SAS ACCESS routines can cause this.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jan 2017 22:41:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/327880#M271656</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2017-01-26T22:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my dates showing up as asterisks?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/440287#M271657</link>
      <description>&lt;P&gt;Superb code .&lt;/P&gt;&lt;P&gt;I was stuck since two days due to this issue.&lt;/P&gt;&lt;P&gt;Should have come to this answer earlier .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot .&lt;/P&gt;&lt;P&gt;Made my day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good day wishes.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 18:09:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-are-my-dates-showing-up-as-asterisks/m-p/440287#M271657</guid>
      <dc:creator>NeerajS1104</dc:creator>
      <dc:date>2018-02-26T18:09:11Z</dc:date>
    </item>
  </channel>
</rss>

