<?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: To convert date with no format to mmddyy10 in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678967#M32629</link>
    <description>&lt;P&gt;Here is the log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc print data=CANCER.bc(obs=10);&lt;BR /&gt;var dob;&lt;BR /&gt;format dob mmddyy10.;&lt;BR /&gt;ERROR: You are trying to use the numeric format MMDDYY with the character variable DOB in data&lt;BR /&gt;set CANCER.BC.&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2020 19:23:14 GMT</pubDate>
    <dc:creator>anjanamohan1611</dc:creator>
    <dc:date>2020-08-24T19:23:14Z</dc:date>
    <item>
      <title>To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678944#M32621</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a new user of SAS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a variable named Date of Birth. But in SAS the DOB appears as 23822, 22867, 19530, and so on. It is a character variable with $8. I would like to convert this to mmddyy10.&lt;/P&gt;&lt;P&gt;I have tried&amp;nbsp;&lt;/P&gt;&lt;P&gt;data new;&lt;BR /&gt;set have;&lt;BR /&gt;dob1 =input(dob, $8.);&lt;/P&gt;&lt;P&gt;format dob $8.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 17:25:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678944#M32621</guid>
      <dc:creator>anjanamohan1611</dc:creator>
      <dc:date>2020-08-24T17:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678949#M32623</link>
      <description>&lt;P&gt;I strongly wonder where you managed to get those values as CHARACTER. They look somewhat like the numeric value of SAS dates.&lt;/P&gt;
&lt;P&gt;Try formatting &lt;STRONG&gt;DOB1 &lt;/STRONG&gt;as mmddyy10.&amp;nbsp; and see if you are happy with the results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or show us the LOG from running that example code. Copy the data step from the log with all the notes or warnings and paste into a code box opened on the forum with the &amp;lt;/&amp;gt; icon to preserve formatting.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 17:48:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678949#M32623</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-24T17:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678950#M32624</link>
      <description>You only need to apply a format to the date.&lt;BR /&gt;&lt;BR /&gt;format dob mmddyy10.; &lt;BR /&gt;&lt;BR /&gt;Add that to your data step and see what happens. &lt;BR /&gt;&lt;BR /&gt;proc print data=have (obs=10);&lt;BR /&gt;var dob;&lt;BR /&gt;format dob mmddyy10.;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Aug 2020 17:49:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678950#M32624</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-24T17:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678956#M32625</link>
      <description>&lt;P&gt;This is how DOB looks like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anjanamohan1611_0-1598292755564.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48583iA490918FBD84444A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anjanamohan1611_0-1598292755564.png" alt="anjanamohan1611_0-1598292755564.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA CANCER.corr_DOS1;&lt;BR /&gt;SET CANCER.BC;&lt;BR /&gt;dob1= input (dob, yymmdd6.);&lt;BR /&gt;format dob1 MMDDYY10.;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't get any output. It is missing&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 18:18:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678956#M32625</guid>
      <dc:creator>anjanamohan1611</dc:creator>
      <dc:date>2020-08-24T18:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678964#M32627</link>
      <description>You do not need the INPUT statement, only the FORMAT statement.&lt;BR /&gt;Note that I didn't use INPUT and referred to your original variable in my example. Run my example replacing your data set name and see what happens.&lt;BR /&gt;&lt;BR /&gt;proc print data = cancer.bc (obs=10);&lt;BR /&gt;var dob;&lt;BR /&gt;format dob mmddyy10.;&lt;BR /&gt;run;</description>
      <pubDate>Mon, 24 Aug 2020 19:17:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678964#M32627</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-24T19:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678967#M32629</link>
      <description>&lt;P&gt;Here is the log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc print data=CANCER.bc(obs=10);&lt;BR /&gt;var dob;&lt;BR /&gt;format dob mmddyy10.;&lt;BR /&gt;ERROR: You are trying to use the numeric format MMDDYY with the character variable DOB in data&lt;BR /&gt;set CANCER.BC.&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 19:23:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678967#M32629</guid>
      <dc:creator>anjanamohan1611</dc:creator>
      <dc:date>2020-08-24T19:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678968#M32630</link>
      <description>Ok, then you do need to input but use 8. as the input format. It doesn't make sense that the numbers would be a character and SAS date though so something is a bit wonky here. What is the source data? How did you read it?&lt;BR /&gt;&lt;BR /&gt;DATA CANCER.corr_DOS1;&lt;BR /&gt;SET CANCER.BC;&lt;BR /&gt;dob1= input (dob, 8.);&lt;BR /&gt;format dob1 MMDDYY10.;&lt;BR /&gt;RUN;</description>
      <pubDate>Mon, 24 Aug 2020 19:29:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678968#M32630</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-24T19:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678969#M32631</link>
      <description>&lt;P&gt;I suspect it may be time to actually show what your data set looks like.&lt;/P&gt;
&lt;P&gt;Please run&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc contents data=CANCER.BC;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;and show us the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you try to input a value like 23822 with a yymmdd6 informat it would result in missing values because 1) you don't have 6 characters and 2) it would try to treat 82 as the month. I bet you have lots of invalid data messages in your LOG. You do read the log don't you? Something like:&lt;/P&gt;
&lt;PRE&gt;NOTE: Mathematical operations could not be performed at the
      following places. The results of the operations have been
      set to missing values.
      Each place is given by:
      (Number of times) at (Line):(Column).
      1 at 8:11
&lt;/PRE&gt;
&lt;P&gt;which means that the value can't be treated as a date with the value shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And if the "year" was accepted as two digits the result would likely be 2023, which I suspect is not valid for your data. Example:&lt;/P&gt;
&lt;PRE&gt;data junk;
   x = '230823';
   date = input(x,yymmdd6.);
   put date= mmddyy10.;
   format date mmddyy10.;
run;&lt;/PRE&gt;
&lt;P&gt;08 above is valid for a month value so this "works" but the year is 2023.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the values of the variable are actually character then I think you need to create a numeric version such as you tried before: Dob1 =input(dob,best.); or similar. and then apply a format to the DOB1 variable. If the value of DOB is actually numeric then try just assigning the format.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 19:30:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678969#M32631</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-24T19:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678972#M32632</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;This was in excel format and I have imported it into SAS.&lt;/P&gt;&lt;P&gt;The original DOB is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anjanamohan1611_0-1598298097768.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48588i0E243930B21770DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anjanamohan1611_0-1598298097768.png" alt="anjanamohan1611_0-1598298097768.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, after using the code the new DOB1 is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anjanamohan1611_1-1598298151843.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48589i97087E1A67CD5CB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anjanamohan1611_1-1598298151843.png" alt="anjanamohan1611_1-1598298151843.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 19:43:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678972#M32632</guid>
      <dc:creator>anjanamohan1611</dc:creator>
      <dc:date>2020-08-24T19:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678983#M32633</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/164099"&gt;@anjanamohan1611&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This was in excel format and I have imported it into SAS.&lt;/P&gt;
&lt;P&gt;The original DOB is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anjanamohan1611_0-1598298097768.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48588i0E243930B21770DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anjanamohan1611_0-1598298097768.png" alt="anjanamohan1611_0-1598298097768.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However, after using the code the new DOB1 is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;So now you should show the code used to read the Excel file, the actual other code that you ran from the LOG along with notes and warnings, and quite possibly a copy of the Excel file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 20:15:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678983#M32633</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-24T20:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678987#M32634</link>
      <description>&lt;P&gt;proc import datafile="C:\CANCER\MEANADH\BC.xlsx" out=cancer.BC&lt;BR /&gt;DBMS= xlsx REPLACE;&lt;BR /&gt;sheet="sheet_1";&lt;BR /&gt;getnames=yes;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how the data looks in excel&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;DOB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3/21/1965&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8/9/1962&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6/20/1953&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2/4/1962&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1/8/1965&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 20:24:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678987#M32634</guid>
      <dc:creator>anjanamohan1611</dc:creator>
      <dc:date>2020-08-24T20:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678989#M32635</link>
      <description>&lt;P&gt;And in SAS the properties of this variable is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anjanamohan1611_0-1598300776942.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48592i8A18458B224CCB80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anjanamohan1611_0-1598300776942.png" alt="anjanamohan1611_0-1598300776942.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 20:26:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678989#M32635</guid>
      <dc:creator>anjanamohan1611</dc:creator>
      <dc:date>2020-08-24T20:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678990#M32636</link>
      <description>Is this a one time project or needs to be automated?&lt;BR /&gt;If it's one time, go into Excel, make sure the field has an Excel date format applied to it and you should be good to go.</description>
      <pubDate>Mon, 24 Aug 2020 20:26:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678990#M32636</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-24T20:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678993#M32637</link>
      <description>&lt;P&gt;Yes, it is a one time project. I will try fixing the excel&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 20:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678993#M32637</guid>
      <dc:creator>anjanamohan1611</dc:creator>
      <dc:date>2020-08-24T20:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678996#M32638</link>
      <description>&lt;P&gt;So the issue is that your Excel file has text in at least one of the cells in the column with the date values.&amp;nbsp; So when SAS tried to figure out how to convert the column in a variable (rather than a loose collection of cells like a spreadsheet) it had to make a character variable instead of numeric variable.&amp;nbsp; When that happens for any actual date values in the column in Excel you get the raw number of days (as Excel stores them) as a character string of digits.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So first convert to a number and then correct for the difference in starting date.&lt;/P&gt;
&lt;PRE&gt;183   data test;
184     excelstr='23822';
185     exceldt=input(excelstr,32.);
186     sasdt=exceldt+'30DEC1899'd ;
187     put excelstr= $quote. /  (2*exceldt 2*sasdt) (=comma. =yymmdd10. / );
188   run;

excelstr="23822"
exceldt=23,822 exceldt=2025-03-22
sasdt=1,906 sasdt=1965-03-21&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Aug 2020 20:37:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/678996#M32638</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-08-24T20:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: To convert date with no format to mmddyy10</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/679007#M32640</link>
      <description>&lt;P&gt;As&amp;nbsp; I have mentioned a time or two, show the code you have run. All of it at this point in time.&lt;/P&gt;
&lt;P&gt;I have seen many different problems with Excel dates and the one you show almost certainly involves your code changing a value as read from Excel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thing to try is to make sure that entire columns of Excel have the same cell formatting, especially dates.&lt;/P&gt;
&lt;P&gt;Save the file as CSV.&lt;/P&gt;
&lt;P&gt;Then import the CSV file, use the option guessingrows=max or the number of lines in the file.&lt;/P&gt;
&lt;P&gt;You are much more likely to get usable dates that way.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 22:21:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-convert-date-with-no-format-to-mmddyy10/m-p/679007#M32640</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-24T22:21:49Z</dc:date>
    </item>
  </channel>
</rss>

