<?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: Date format in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Date-format/m-p/66229#M18897</link>
    <description>Hi Kumar&lt;BR /&gt;
This 'date' thing is a very common cause of confusion.&lt;BR /&gt;
There is a difference of what you see (what you see is what format is applied on a field) and what field type data are stored in.&lt;BR /&gt;
If the date in your database is already in a field of type 'date' or similar then you won't have problems - just access it with SAS.&lt;BR /&gt;
It the date is stored as a character string then you will have to tell SAS how to read it - that would then be a Informat. SAS would then convert the string to a SAS date (that's a number). To look at it this SAS data you then best apply a Format to the variable (else you just will see a number).&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
    <pubDate>Wed, 17 Dec 2008 11:25:26 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2008-12-17T11:25:26Z</dc:date>
    <item>
      <title>Date format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Date-format/m-p/66227#M18895</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
i have a date value 2007-10-01(yyyy-dd-mm)in the database..&lt;BR /&gt;
how to read this date value in sas?&lt;BR /&gt;
&lt;BR /&gt;
i need format statement for above value&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
kumar</description>
      <pubDate>Wed, 17 Dec 2008 08:30:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Date-format/m-p/66227#M18895</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-12-17T08:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Date-format/m-p/66228#M18896</link>
      <description>Concepts about SAS date and time:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/59522/HTML/default/a002200738.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/59522/HTML/default/a002200738.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
About reading date format from external databases (i.e. Oracle, SAS/ACCESS to RDBMS):&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/59618/HTML/default/a003113620.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acreldb/59618/HTML/default/a003113620.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Wed, 17 Dec 2008 08:41:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Date-format/m-p/66228#M18896</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-12-17T08:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Date-format/m-p/66229#M18897</link>
      <description>Hi Kumar&lt;BR /&gt;
This 'date' thing is a very common cause of confusion.&lt;BR /&gt;
There is a difference of what you see (what you see is what format is applied on a field) and what field type data are stored in.&lt;BR /&gt;
If the date in your database is already in a field of type 'date' or similar then you won't have problems - just access it with SAS.&lt;BR /&gt;
It the date is stored as a character string then you will have to tell SAS how to read it - that would then be a Informat. SAS would then convert the string to a SAS date (that's a number). To look at it this SAS data you then best apply a Format to the variable (else you just will see a number).&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
      <pubDate>Wed, 17 Dec 2008 11:25:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Date-format/m-p/66229#M18897</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2008-12-17T11:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Date-format/m-p/66230#M18898</link>
      <description>And here are some previous forum postings and a paper that might be useful:&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=12764㇜" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=12764㇜&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=9981⛽" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=9981&lt;span class="lia-unicode-emoji" title=":fuel_pump:"&gt;⛽&lt;/span&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi24/Begtutor/p58-24.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi24/Begtutor/p58-24.pdf&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 17 Dec 2008 14:36:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Date-format/m-p/66230#M18898</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-12-17T14:36:03Z</dc:date>
    </item>
  </channel>
</rss>

