<?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 VALUES in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16528#M2305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are reading the values from datalines or a text file then use the appropriate date format and the value will be stored as the number of days since 1/1/1960.&amp;nbsp; Then you can do differences and other operations on the date.&amp;nbsp; Look at functions that SAS has for date calculations for doing more complex operations with dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;DATA D;&lt;/SPAN&gt;&lt;/P&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;INPUT DATE yymmdd8.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;format date date9.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;CARDS;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;20020328&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;19990214&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2011 16:11:05 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2011-12-16T16:11:05Z</dc:date>
    <item>
      <title>DATE VALUES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16523#M2300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THIS IS THE SAMPLE CODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DATA D;&lt;/P&gt;&lt;P&gt;INPUT DATE :BEST12.;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;DATALINES;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;20020328&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;19990214&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;SPAN style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;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&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I WANT TO CONVERT DATE VARIABLE VALUES IN TO DATE9. FORMAT&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;PLEASE HELP ME OUT&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 15:07:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16523#M2300</guid>
      <dc:creator>sss</dc:creator>
      <dc:date>2011-12-16T15:07:45Z</dc:date>
    </item>
    <item>
      <title>DATE VALUES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16524#M2301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I posted a response to your original thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;I think that you are looking for something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;data dunning;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp; input DT_DUNNING_DATE;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;19980428&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;20100324&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;20110330&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;DATA TEMP;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp; SET DUNNING;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp; DT_DUNNING_DATE1=&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; INPUT(put(DT_DUNNING_DATE,8.),yymmdd8.);&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp; FORMAT DT_DUNNING_DATE1 DATE9.;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 15:32:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16524#M2301</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-12-16T15:32:08Z</dc:date>
    </item>
    <item>
      <title>DATE VALUES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16525#M2302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; but now the date variable is in best12. format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not getting the way to convert it into date9. format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 15:41:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16525#M2302</guid>
      <dc:creator>sss</dc:creator>
      <dc:date>2011-12-16T15:41:46Z</dc:date>
    </item>
    <item>
      <title>DATE VALUES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16526#M2303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now it is a SAS date value with a date9. format.&amp;nbsp; That is what you will need if you want to use it as a date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you not want it to be a SAS date but, rather, the text that only appears to look like a SAS date9. formated value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 15:45:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16526#M2303</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-12-16T15:45:34Z</dc:date>
    </item>
    <item>
      <title>DATE VALUES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16527#M2304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; ultimately what i want&amp;nbsp; is to convert those values in numbers of days so that i can apply date formats on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 16:02:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16527#M2304</guid>
      <dc:creator>sss</dc:creator>
      <dc:date>2011-12-16T16:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: DATE VALUES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16528#M2305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are reading the values from datalines or a text file then use the appropriate date format and the value will be stored as the number of days since 1/1/1960.&amp;nbsp; Then you can do differences and other operations on the date.&amp;nbsp; Look at functions that SAS has for date calculations for doing more complex operations with dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;DATA D;&lt;/SPAN&gt;&lt;/P&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;INPUT DATE yymmdd8.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;format date date9.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;CARDS;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;20020328&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;19990214&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 16:11:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16528#M2305</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-12-16T16:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: DATE VALUES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16529#M2306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A SAS date value is simply a number representing the number of days since 01JAN1960.&amp;nbsp; As such, the difference between two SAS dates is the number of days that separate them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, as Tom mentioned, you can do a lot more with the various date related functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 16:14:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16529#M2306</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-12-16T16:14:50Z</dc:date>
    </item>
    <item>
      <title>DATE VALUES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16530#M2307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;really thank full for your response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the main problem is that the dataset is alreadly created the date variable with best12. format.&lt;/P&gt;&lt;P&gt;i want to apply mmddyy or date9. format on it.. how can i pls guide me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 16:19:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16530#M2307</guid>
      <dc:creator>sss</dc:creator>
      <dc:date>2011-12-16T16:19:25Z</dc:date>
    </item>
    <item>
      <title>DATE VALUES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16531#M2308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I apparently don't understand what you are asking.&amp;nbsp; I had thought that what I suggested, before, matched your current situation.&amp;nbsp; I expanded on it, below, to show an example calculation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data dunning;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input DT_DUNNING_DATE;&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;19980428&lt;/P&gt;&lt;P&gt;20100324&lt;/P&gt;&lt;P&gt;20110330&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA TEMP;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SET DUNNING;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DT_DUNNING_DATE1=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; INPUT(put(DT_DUNNING_DATE,8.),yymmdd8.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; FORMAT DT_DUNNING_DATE1 DATE9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Number_of_Days_from_01JAN2010=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DT_DUNNING_DATE1-'01JAN2010'd;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 16:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16531#M2308</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-12-16T16:28:49Z</dc:date>
    </item>
    <item>
      <title>DATE VALUES</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16532#M2309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; thnx u vry much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 16:48:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATE-VALUES/m-p/16532#M2309</guid>
      <dc:creator>sss</dc:creator>
      <dc:date>2011-12-16T16:48:26Z</dc:date>
    </item>
  </channel>
</rss>

