<?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: Importance of January 1 1960 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Importance-of-January-1-1960/m-p/874654#M345595</link>
    <description>&lt;P&gt;Thank you very much for quick response.&lt;/P&gt;</description>
    <pubDate>Tue, 09 May 2023 13:19:17 GMT</pubDate>
    <dc:creator>SASuserlot</dc:creator>
    <dc:date>2023-05-09T13:19:17Z</dc:date>
    <item>
      <title>Importance of January 1 1960</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importance-of-January-1-1960/m-p/874515#M345530</link>
      <description>&lt;P&gt;I am aware of the importance of&amp;nbsp; January 1 1960 in SAS (considers them as Birthday), SAS stores the days counting from this particular date.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I am not&amp;nbsp; 100% sure but when sometimes I used the wrong date format / informat I used to see this date in my datasets. Can you guys please share some information on this and also provide an example where we see January 1, 1960, in the dataset because of giving the wrong format / informat?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 19:47:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importance-of-January-1-1960/m-p/874515#M345530</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2023-05-08T19:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Importance of January 1 1960</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importance-of-January-1-1960/m-p/874517#M345532</link>
      <description>&lt;P&gt;Applying a datetime format to a date value will usually end with a displayed date on 1960-01-01, because most dates used lie between 0 and 86400.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 19:52:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importance-of-January-1-1960/m-p/874517#M345532</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-05-08T19:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Importance of January 1 1960</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importance-of-January-1-1960/m-p/874557#M345540</link>
      <description>&lt;P&gt;SAS datetime values are numbers of seconds.&lt;/P&gt;
&lt;P&gt;SAS Date values are numbers of days.&lt;/P&gt;
&lt;P&gt;When treat a Date value as if it should be a Datetime then the actual value is way smaller than a datetime format, or function, expects.&lt;/P&gt;
&lt;PRE&gt;Data _null_;
   x=today();
   put 'Numeric value of x is ' x best5.;
   put 'X is: ' x date9. ' with date9. format';
   put 'X is: ' x datetime9. ' with datetime9. format';
run;&lt;/PRE&gt;
&lt;P&gt;When you accidentally use a datetime value where a date is expected you may get invalid data range messages or just exceed the display capability of a format.&lt;/P&gt;
&lt;PRE&gt;Data _null_;
   x='06FEB1960:00:00:01'dt;
   put 'Numeric value of x is ' x best8.;
   put 'X is: ' x date9. ' with date9. format';
   put 'X is: ' x datetime19. ' with datetime9. format';
run;&lt;/PRE&gt;
&lt;P&gt;The above shows that by 6 Feb 1960 the number of seconds exceeds the number of years that SAS date formats are expected to deal with. The **** when displayed with a partial date indicates the "year" the formatted encountered was greater than 9999 but less than 20,000. If you see all ********* for a date you have attempted to use a date that is year 20000 or greater. Which happens by 18Mar1960:00:00:01.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 21:27:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importance-of-January-1-1960/m-p/874557#M345540</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-05-08T21:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Importance of January 1 1960</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importance-of-January-1-1960/m-p/874654#M345595</link>
      <description>&lt;P&gt;Thank you very much for quick response.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 13:19:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importance-of-January-1-1960/m-p/874654#M345595</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2023-05-09T13:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Importance of January 1 1960</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importance-of-January-1-1960/m-p/874655#M345596</link>
      <description>&lt;P&gt;Thank you for a detailed explanation.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 13:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importance-of-January-1-1960/m-p/874655#M345596</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2023-05-09T13:20:18Z</dc:date>
    </item>
  </channel>
</rss>

