<?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: Having a difficult time with a date conversion issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134802#M27392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your problem seems to be that you do not know what format you dataset variables are in.&amp;nbsp; Use PROC CONTENTS and check. If they are numbers with a format like DATE, MMDDYY, YYMMDD, etc attached to them then they are DATES and you can compare them with a macro variable by setting the macro variable in DATE9 format and using it in a date literal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let start=01MAR2013 ;&lt;/P&gt;&lt;P&gt;....&amp;nbsp; a.regis_dt &amp;gt; "&amp;amp;start"d &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your macro variable START is in some other format then you can use the INPUT (or INPUTN) function to convert it to an actual date. There is no need to format it as you will be comparing the number and not the way the number is displayed.&lt;/P&gt;&lt;P&gt;%let start=2013-03-01 ;&lt;/P&gt;&lt;P&gt;... a.regis_dt &amp;gt; input("&amp;amp;start",yymmdd10.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your dataset variables are NOT dates then you can apply functions to them also to convert.&amp;nbsp; For example if instead they are DATETIME values then use the DATEPART() function to convert them to date values. If they are character strings then use the INPUT function to convert them to dates.&lt;/P&gt;&lt;P&gt;%let start=01MAR2013 ;&lt;/P&gt;&lt;P&gt;....&amp;nbsp; input(a.regis_dt,yymmdd10.) &amp;gt; "&amp;amp;start"d &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Mar 2014 13:46:42 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2014-03-16T13:46:42Z</dc:date>
    <item>
      <title>Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134779#M27369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting records from a customer that are characters in the format yyyymmdd (20130101). I have a date (&amp;amp;start) field that I need to compare to that date. If I hard code the date ('20130101') instead of using &amp;amp;start it works, If I try to use &amp;amp;start I get an error that the data fields are incompatible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR: Expression using greater than or equal (&amp;gt;=) has components that are of different data types.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt; CREATE table ccases1a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; as SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a.study AS study_num,&amp;nbsp; i.inst_id,&amp;nbsp; a.patient AS patient_id, a.regis_dt, a.pt_sex AS sex_id, a.ethnicity AS ethnic_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM alpha.rss_accrual as a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; JOIN alpha.institution as i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON a.inst_nci_id = i.nci_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE i.GROUP_ID = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND a.regis_dt &amp;gt;= &amp;amp;start. /*'20130301' */&amp;nbsp;&amp;nbsp; If I use the '20130301' it works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND (i.stop_dt =. or a.regis_dt &amp;lt;= &amp;amp;end.);&amp;nbsp; /* '20140301');&amp;nbsp; */&lt;/P&gt;&lt;P&gt; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATA _NULL_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput('start',input("&amp;amp;st",mmddyy10.));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput('end', input("&amp;amp;en",mmddyy10.));&lt;/P&gt;&lt;P&gt;&amp;nbsp; RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to either convert the character date to something compatible, or convert the &amp;amp;start to a character date in the correct format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 20:55:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134779#M27369</guid>
      <dc:creator>pasvorto</dc:creator>
      <dc:date>2014-03-05T20:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134780#M27370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommend converting all to dates, though its not necessarily the fastest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie input(regis_dt, mmddyy10.) should work, you can replace the date with that formula in your comparison's above. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 22:13:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134780#M27370</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-03-05T22:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134781#M27371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming that regis_dt contains a string you could use:&lt;/P&gt;&lt;P&gt;a.regis_dt&amp;gt;="&amp;amp;start"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;%let start=20130101;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This compares stings and not date values but should work fine for how the date is represented in these strings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 22:15:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134781#M27371</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-03-05T22:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134782#M27372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PS. Also verify how you are inputting/creating your macro variables. You've specified them as MMDDYY format not a YYYYMMDD format as noted in your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let st=03012013;&lt;/P&gt;&lt;P&gt;%let en=03012014;&lt;/P&gt;&lt;P&gt;DATA _NULL_;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput('start',input("&amp;amp;st",mmddyy10.));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput('end', input("&amp;amp;en",mmddyy10.));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; %put &amp;amp;start ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; %put &amp;amp;end;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 22:16:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134782#M27372</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-03-05T22:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134783#M27373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are circling the answer, but not quite there yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a routine that creates the &amp;amp;start and &amp;amp;end variables. It looks at today's date and goes back one year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How might I convert a date (03Mar2013) to a literal "20130301"? Once I have the literal I can do the comparison easily.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 13:38:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134783#M27373</guid>
      <dc:creator>pasvorto</dc:creator>
      <dc:date>2014-03-06T13:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134784#M27374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I miss something.&lt;/P&gt;&lt;P&gt;regis_dt and stop_dt are SAS date? If so they are numeric and their value is the number of day sinc january 1st 1960&lt;/P&gt;&lt;P&gt;You can check changing the format to best.&lt;/P&gt;&lt;P&gt;You should trasform the '20140301' to a date in this way using the input function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input('20140301',yymmdd8.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the datastep should be before the proc sql.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of most difficult thing to understand in SAS is how it handles the date. It's very powerfull one you'll understand it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 14:28:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134784#M27374</guid>
      <dc:creator>Barnipaz</dc:creator>
      <dc:date>2014-03-06T14:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134785#M27375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, Barnipaz, regis_st is a literal ("20130301"). I need to convert &amp;amp;start (which is a sas date) to a literal in the same format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 14:47:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134785#M27375</guid>
      <dc:creator>pasvorto</dc:creator>
      <dc:date>2014-03-06T14:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134786#M27376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;informat date1 date9.;&lt;/P&gt;&lt;P&gt;format date1 date9.;&lt;/P&gt;&lt;P&gt; input date1;&lt;/P&gt;&lt;P&gt; cards;&lt;/P&gt;&lt;P&gt; 03Mar2013&lt;/P&gt;&lt;P&gt; 02apr2013&lt;/P&gt;&lt;P&gt; 05jan2013&lt;/P&gt;&lt;P&gt; ;&lt;/P&gt;&lt;P&gt; data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; date2=compress(put(intnx('month',date1,0,'b'),yymmdd10.),'-');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; date3=compress(put(date1,yymmdd10.),'-');&lt;/P&gt;&lt;P&gt; proc print;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Obs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date3&lt;/P&gt;&lt;P&gt; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03MAR2013&amp;nbsp;&amp;nbsp;&amp;nbsp; 20130301&amp;nbsp;&amp;nbsp;&amp;nbsp; 20130303&lt;/P&gt;&lt;P&gt; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02APR2013&amp;nbsp;&amp;nbsp;&amp;nbsp; 20130401&amp;nbsp;&amp;nbsp;&amp;nbsp; 20130402&lt;/P&gt;&lt;P&gt; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 05JAN2013&amp;nbsp;&amp;nbsp;&amp;nbsp; 20130101&amp;nbsp;&amp;nbsp;&amp;nbsp; 20130105&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:00:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134786#M27376</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2014-03-06T15:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134787#M27377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yuo have start as numeric.&lt;/P&gt;&lt;P&gt;call symput('start',input("&amp;amp;st",mmddyy10.));&lt;/P&gt;&lt;P&gt;Right?&lt;/P&gt;&lt;P&gt;If so don't use the input function. It trasform char to alphanumeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's hard to expain using a formum as a chat &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:12:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134787#M27377</guid>
      <dc:creator>Barnipaz</dc:creator>
      <dc:date>2014-03-06T15:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134788#M27378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; DATA _NULL_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput('start',input("&amp;amp;st",mmddyy10.));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput('end', input("&amp;amp;en",mmddyy10.));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call symput('date3', input("&amp;amp;st",yymmdd10.));&lt;/P&gt;&lt;P&gt;&amp;nbsp; RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do this code, I get the comparison is not the same data type error. Assume that date3 = 20130101, how do I make that a literal "20130101"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:23:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134788#M27378</guid>
      <dc:creator>pasvorto</dc:creator>
      <dc:date>2014-03-06T15:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134789#M27379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does &amp;amp;st and &amp;amp;en&amp;nbsp; look like?&lt;/P&gt;&lt;P&gt;My assumption is that regis_dt and stop_dt is a character of the form 20130331 (YYYYMMDD). &lt;/P&gt;&lt;P&gt;Change your SQL to convert those to dates and you should be good to go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your data _null_ step is after your SQL, when it should be before. &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;proc sql;&lt;/P&gt;&lt;P&gt; CREATE table ccases1a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; as SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a.study AS study_num,&amp;nbsp; i.inst_id,&amp;nbsp; a.patient AS patient_id, input(a.regis_dt, yymmdd10.) as regis_dt format=date9., a.pt_sex AS sex_id, a.ethnicity AS ethnic_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM alpha.rss_accrual as a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; JOIN alpha.institution as i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON a.inst_nci_id = i.nci_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE i.GROUP_ID = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND input(a.regis_dt, yymmdd10.) &amp;gt;= &amp;amp;start. /*'20130301' */&amp;nbsp;&amp;nbsp; If I use the '20130301' it works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND (input(i.stop_dt, yymmdd10.) =. or input(a.regis_dt, yymmdd10.) &amp;lt;= &amp;amp;end.);&amp;nbsp; /* '20140301');&amp;nbsp; */&lt;/P&gt;&lt;P&gt; quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:35:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134789#M27379</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-03-06T15:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134790#M27380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand your question. if you have st=20130101 and want &amp;amp;date3=20130101 then try the code below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; st=20130101;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;call&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; symputx(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;'date3'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;"&amp;amp;st"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;run&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;%put &amp;amp;date3;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:36:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134790#M27380</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2014-03-06T15:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134791#M27381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I put in this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;proc sql;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; CREATE table ccases1a&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; as SELECT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a.study AS study_num,&amp;nbsp; i.inst_id,&amp;nbsp; a.patient AS patient_id, a.regis_dt, a.pt_sex AS sex_id, a.ethnicity AS ethnic_id&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM calgb.rss_accrual as a&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; JOIN calgb.institution as i&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON a.inst_nci_id = i.nci_id&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE i.GROUP_ID = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 1.5em; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND input(a.regis_dt, mmddyy10.) &amp;gt;= &amp;amp;start.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 1.5em; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND (input(i.stop_dt, mmddyy10.) =. or input(a.regis_dt, yymmdd10.) &amp;lt;= &amp;amp;end.);quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried it using the format yymmdd10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error when running:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: INPUT function requires a character argument.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Expression using equals (=) has components that are of different data types.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't 'hardcode' the dates as it is a running 1 year tally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:51:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134791#M27381</guid>
      <dc:creator>pasvorto</dc:creator>
      <dc:date>2014-03-06T15:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134792#M27382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So its a number, not a character date. Change the formulas as below in all the relevant places.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt; input(put(a.regis_dt, 8. -l), mmddyy10.) &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 16:35:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134792#M27382</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-03-06T16:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134793#M27383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Current code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; proc sql;&lt;/P&gt;&lt;P&gt; CREATE table ccases1a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; as SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a.study AS study_num,&amp;nbsp; i.inst_id,&amp;nbsp; a.patient AS patient_id, a.regis_dt, a.pt_sex AS sex_id, a.ethnicity AS ethnic_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM calgb.rss_accrual as a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; JOIN calgb.institution as i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON a.inst_nci_id = i.nci_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE i.GROUP_ID = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and input(put(a.regis_dt, 8. -l), mmddyy10.) &amp;gt;= &amp;amp;start.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND (input(put(i.stop_dt, 8. -l), mmddyy10.) =. or input(put(a.regis_dt, 8. -l), mmddyy10.) &amp;lt;= &amp;amp;end.);&lt;/P&gt;&lt;P&gt; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Numeric format F in PUT function requires a numeric argument.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Numeric format F in PUT function requires a numeric argument.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:00.01&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0:00.01&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 16:56:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134793#M27383</guid>
      <dc:creator>pasvorto</dc:creator>
      <dc:date>2014-03-06T16:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134794#M27384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this means that stop_dt and regis_dt don't have the same formats.&amp;nbsp; Clarify this. If it is a number use the one above, if its a character use the first one. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 17:13:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134794#M27384</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-03-06T17:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134795#M27385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They are character fields. Here is what we have now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;24595&amp;nbsp;&amp;nbsp; proc sql;&lt;/P&gt;&lt;P&gt;24596&amp;nbsp;&amp;nbsp; CREATE table ccases1a&lt;/P&gt;&lt;P&gt;24597&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as SELECT&lt;/P&gt;&lt;P&gt;24598&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a.study AS study_num,&amp;nbsp; i.inst_id,&amp;nbsp; a.patient AS patient_id, a.regis_dt, a.pt_sex AS sex_id,&lt;/P&gt;&lt;P&gt;24598! a.ethnicity AS ethnic_id&lt;/P&gt;&lt;P&gt;24599&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM calgb.rss_accrual as a&lt;/P&gt;&lt;P&gt;24600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JOIN calgb.institution as i&lt;/P&gt;&lt;P&gt;24601&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON a.inst_nci_id = i.nci_id&lt;/P&gt;&lt;P&gt;24602&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE i.GROUP_ID = 1&lt;/P&gt;&lt;P&gt;24606&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND input(a.regis_dt, yymmdd10.) &amp;gt;= &amp;amp;start.&lt;/P&gt;&lt;P&gt;24607&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND (input(i.stop_dt, yymmdd10.) =. or input(a.regis_dt, yymmdd10.) &amp;lt;= &amp;amp;end.);&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: INPUT function requires a character argument.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Expression using equals (=) has components that are of different data types.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;24608&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that the code you are referring to for character strings?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 17:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134795#M27385</guid>
      <dc:creator>pasvorto</dc:creator>
      <dc:date>2014-03-06T17:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134796#M27386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second error had to do with the "=.". I changed that to = '' " and we're ok then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly enough, this code works (in a data block).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &amp;amp;start. &amp;lt;= input(regis_dt, yymmdd10.) &amp;lt;= &amp;amp;end.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May the fact that it is contained in the sql code that is causing the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 17:23:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134796#M27386</guid>
      <dc:creator>pasvorto</dc:creator>
      <dc:date>2014-03-06T17:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134797#M27387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got around it by doing this, which does not give me any errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; proc sql;&lt;/P&gt;&lt;P&gt; CREATE table ccases1a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; as SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a.study AS study_num,&amp;nbsp; i.stop_dt, i.inst_id,&amp;nbsp; a.patient AS patient_id, a.regis_dt, a.pt_sex AS sex_id, a.ethnicity AS ethnic_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM calgb.rss_accrual as a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; JOIN calgb.institution as i&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON a.inst_nci_id = i.nci_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE i.GROUP_ID = 1 ;&lt;/P&gt;&lt;P&gt; quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data ccases1a; set ccases1a;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; where&amp;nbsp;&amp;nbsp; input(regis_dt, yymmdd10.) &amp;gt;= &amp;amp;start.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND (stop_dt =. or input(regis_dt, yymmdd10.) &amp;lt;= &amp;amp;end.);&lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 17:39:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134797#M27387</guid>
      <dc:creator>pasvorto</dc:creator>
      <dc:date>2014-03-06T17:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Having a difficult time with a date conversion issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134798#M27388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So basically, stop_dt is a valid SAS date and regis_dt is a character field already. &lt;/P&gt;&lt;P&gt;Glad you got it working. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 17:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Having-a-difficult-time-with-a-date-conversion-issue/m-p/134798#M27388</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-03-06T17:48:29Z</dc:date>
    </item>
  </channel>
</rss>

