<?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: SAS EG date formats in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232788#M16882</link>
    <description>Run a one way table analysis on your data by date to see the results. The problem most likely is with your input data set. If that output doesn't match the graph then SAS is doing something wrong.</description>
    <pubDate>Mon, 02 Nov 2015 19:04:27 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-11-02T19:04:27Z</dc:date>
    <item>
      <title>SAS EG date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232775#M16876</link>
      <description>&lt;P&gt;Dear SAS EG users,&lt;/P&gt;
&lt;P&gt;I met a trouble last week and cannot figure it out. The problem is that the output of SAS program looks good, but the visizulation (bar graph, the frequency of a column named READ_DT)&amp;nbsp;of result obveriously wrong. I had two tables, both of them had a column named READ_DT. Both cloumn shared the same format and informat, ie date9.. To my surprise, the frequency distribution of one table looks correct (Bar chart 2), but not the another one (Bar Chart 5). I don't know why and how to solve it. For deails please see attachments.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 18:07:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232775#M16876</guid>
      <dc:creator>HarryLiu</dc:creator>
      <dc:date>2015-11-02T18:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232776#M16877</link>
      <description>I see just one attachment with one chart (5).  Do you have the other chart (2) to supply?&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Nov 2015 17:51:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232776#M16877</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2015-11-02T17:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232777#M16878</link>
      <description>&lt;P&gt;Thanks ChrisHemedinger a lot for your quick message. I selected two files and unfortunately, only one of them attached. Here is Bar Chart #2.&lt;/P&gt;
&lt;P&gt;Sorry for my careless.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 18:10:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232777#M16878</guid>
      <dc:creator>HarryLiu</dc:creator>
      <dc:date>2015-11-02T18:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232780#M16879</link>
      <description>I see that the values in Chart 5 are quite erratic.  Is it possible that in one data set, READ_DT is a Date type, but in another it's a Date-Time type?&lt;BR /&gt;&lt;BR /&gt;Dates in SAS - number of days since Jan 1, 1960.&lt;BR /&gt;Date-time in SAS - number of seconds since Jan 1, 1960</description>
      <pubDate>Mon, 02 Nov 2015 18:25:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232780#M16879</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2015-11-02T18:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232783#M16881</link>
      <description>No, both of them are date type and have the same format. Here is sample of data and attribute of the column in two data set.&lt;BR /&gt;Bar chart 5&lt;BR /&gt;11JUN2015&lt;BR /&gt;11JUN2015&lt;BR /&gt;11JUN2015&lt;BR /&gt;11JUN2015&lt;BR /&gt;12JUN2015&lt;BR /&gt;12JUN2015&lt;BR /&gt;12JUN2015&lt;BR /&gt;12JUN2015&lt;BR /&gt;Name	Type	Length	Format	Informat	Label&lt;BR /&gt;READ_DT	Date	8	DATE9.	DATE9.	READ_DT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bar Chart 2&lt;BR /&gt;01JAN2015&lt;BR /&gt;01JAN2015&lt;BR /&gt;01JAN2015&lt;BR /&gt;01JAN2015&lt;BR /&gt;01JAN2015&lt;BR /&gt;Name	Type	Length	Format	Informat	Label&lt;BR /&gt;READ_DT	Date	8	DATE9.	DATE9.	READ_DT&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Nov 2015 18:39:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232783#M16881</guid>
      <dc:creator>HarryLiu</dc:creator>
      <dc:date>2015-11-02T18:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232788#M16882</link>
      <description>Run a one way table analysis on your data by date to see the results. The problem most likely is with your input data set. If that output doesn't match the graph then SAS is doing something wrong.</description>
      <pubDate>Mon, 02 Nov 2015 19:04:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232788#M16882</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-11-02T19:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232789#M16883</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;can you please explain what portion is wrong ? the date format in the pdf (which is not very clear). Or the Graph itself the Bounds?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 19:05:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232789#M16883</guid>
      <dc:creator>pearsoninst</dc:creator>
      <dc:date>2015-11-02T19:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232816#M16884</link>
      <description>&lt;P&gt;Run something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc freq data=barchart5dataset;&lt;/P&gt;
&lt;P&gt;freq read_dt;&lt;/P&gt;
&lt;P&gt;format read_dt best12.;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will bet that your data source has an issue, either it is including some time values or simple data entry errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And where did you read the data from?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 21:24:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232816#M16884</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-11-02T21:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232820#M16885</link>
      <description>&lt;P&gt;Hi Ballardw,&lt;/P&gt;
&lt;P&gt;I think you are right that my data source has an issue. The data source is from Teradata warehouse, which showed some wired data when I&amp;nbsp;extracted raw data directly from database.&lt;/P&gt;
&lt;P&gt;Thanks you and others&amp;nbsp;for helpful information and suggestion.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 21:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232820#M16885</guid>
      <dc:creator>HarryLiu</dc:creator>
      <dc:date>2015-11-02T21:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232822#M16886</link>
      <description>Teradata would typically be a datetime variable as suggested by others.</description>
      <pubDate>Mon, 02 Nov 2015 22:04:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232822#M16886</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-11-02T22:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232836#M16887</link>
      <description>&lt;P&gt;You might still be able to work with this data using a DT format instead of DATE9.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See this blog post for ideas:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2011/11/15/do-you-mind-if-we-dance-with-your-dates/" target="_self"&gt;http://blogs.sas.com/content/sasdummy/2011/11/15/do-you-mind-if-we-dance-with-your-dates/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 00:27:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-date-formats/m-p/232836#M16887</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2015-11-03T00:27:31Z</dc:date>
    </item>
  </channel>
</rss>

