<?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 Why does my SAS date have the wrong century? in Architecture</title>
    <link>https://communities.sas.com/t5/Architecture/Why-does-my-SAS-date-have-the-wrong-century/m-p/619888#M220</link>
    <description>&lt;P&gt;&lt;SPAN&gt;In SAS 9.3 and earlier, the default value of the YEARCUTOFF= option is 1920. This default setting could trigger data integrity issues because any 2-digit years of "20" in dates will be assumed to occur in 1920 instead of 2020. If the intended year in the date is 2020, you must set the YEARCUTOFF= option to a value larger than 1920. Of course, the best alternative is to always specify date values with 4-digit years.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Luckily, SAS makes it easy to change the YEARCUTOFF= option so that it works best for your data. The default value for the YEARCUTOFF= option changed in SAS 9.4 to 1926. This change makes it easier for customers who are still using 2-digit years of "20" to make sure that the date is assigned to 2020. Let's review some of the frequently asked questions that customers ask about how SAS works with 2-digit years.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Find out more about this topic in this comprehensive blog post (including links to the relevant SAS Notes):&amp;nbsp;&lt;A href="https://blogs.sas.com/content/sgf/2020/01/10/yearcutoff-date/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2020/01/10/yearcutoff-date/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2020 17:41:36 GMT</pubDate>
    <dc:creator>ShelleySessoms</dc:creator>
    <dc:date>2020-01-24T17:41:36Z</dc:date>
    <item>
      <title>Why does my SAS date have the wrong century?</title>
      <link>https://communities.sas.com/t5/Architecture/Why-does-my-SAS-date-have-the-wrong-century/m-p/619888#M220</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In SAS 9.3 and earlier, the default value of the YEARCUTOFF= option is 1920. This default setting could trigger data integrity issues because any 2-digit years of "20" in dates will be assumed to occur in 1920 instead of 2020. If the intended year in the date is 2020, you must set the YEARCUTOFF= option to a value larger than 1920. Of course, the best alternative is to always specify date values with 4-digit years.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Luckily, SAS makes it easy to change the YEARCUTOFF= option so that it works best for your data. The default value for the YEARCUTOFF= option changed in SAS 9.4 to 1926. This change makes it easier for customers who are still using 2-digit years of "20" to make sure that the date is assigned to 2020. Let's review some of the frequently asked questions that customers ask about how SAS works with 2-digit years.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Find out more about this topic in this comprehensive blog post (including links to the relevant SAS Notes):&amp;nbsp;&lt;A href="https://blogs.sas.com/content/sgf/2020/01/10/yearcutoff-date/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2020/01/10/yearcutoff-date/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 17:41:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/Why-does-my-SAS-date-have-the-wrong-century/m-p/619888#M220</guid>
      <dc:creator>ShelleySessoms</dc:creator>
      <dc:date>2020-01-24T17:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my SAS date have the wrong century?</title>
      <link>https://communities.sas.com/t5/Architecture/Why-does-my-SAS-date-have-the-wrong-century/m-p/649708#M237</link>
      <description>&lt;P&gt;You can create an autoexec.sas statement that will always set the cutoff according to your own max 'years ago' criteria.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Autoexec.sas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;options yearcutoff = %eval(-94+%sysfunc(year(%sysfunc(date()))));  * 94 years ago is oldest inferred year from formats considering just YY;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 21:07:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/Why-does-my-SAS-date-have-the-wrong-century/m-p/649708#M237</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-05-21T21:07:37Z</dc:date>
    </item>
  </channel>
</rss>

