<?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: Excel-date format in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-date-format/m-p/130271#M10668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect. That's exactly the way to do things like this in SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your day assignment may not work with single digit dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;day=substr(worddate,1,(notdigit(worddate)-1));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should fix it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2013 13:03:51 GMT</pubDate>
    <dc:creator>TomKari</dc:creator>
    <dc:date>2013-05-13T13:03:51Z</dc:date>
    <item>
      <title>Excel-date format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-date-format/m-p/130268#M10665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I read this type of dates in eGuide?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 201px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="201"&gt;Tuesday, 11th June 1985&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;&lt;P&gt;Monday, 4th June 1990&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thx!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 11:23:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-date-format/m-p/130268#M10665</guid>
      <dc:creator>DavidDemeyer</dc:creator>
      <dc:date>2013-05-06T11:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Excel-date format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-date-format/m-p/130269#M10666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you'll be able to read these without doing some further processing. Are they always in the form&lt;/P&gt;&lt;P&gt;&amp;lt;weekday&amp;gt;, &amp;lt;date&amp;gt;th &amp;lt;month&amp;gt; &amp;lt;year&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are, it is very easy to reformat them to be converted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 May 2013 16:28:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-date-format/m-p/130269#M10666</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2013-05-12T16:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Excel-date format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-date-format/m-p/130270#M10667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tis fixed the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 16.0pt; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; test; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;F5=&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'Friday, 10th January 1986'&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;worddate=left(scan(F5,&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 16.0pt; font-family: 'Courier New';"&gt;2&lt;/STRONG&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;','&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;)); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;day=substr(worddate,&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 16.0pt; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 16.0pt; font-family: 'Courier New';"&gt;2&lt;/STRONG&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;monthname=scan(worddate,&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 16.0pt; font-family: 'Courier New';"&gt;2&lt;/STRONG&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;month=substr(monthname,&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 16.0pt; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 16.0pt; font-family: 'Courier New';"&gt;3&lt;/STRONG&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;year=scan(worddate,&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 16.0pt; font-family: 'Courier New';"&gt;3&lt;/STRONG&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;date9=input(catt(day,month,year),&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;date9.&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;run&lt;/SPAN&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 16.0pt; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 16.0pt; font-family: 'Courier New';"&gt;print&lt;/STRONG&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; ; &lt;/SPAN&gt;&lt;STRONG style="color: navy; background: white; font-size: 16.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 16.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 11:57:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-date-format/m-p/130270#M10667</guid>
      <dc:creator>DavidDemeyer</dc:creator>
      <dc:date>2013-05-13T11:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Excel-date format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-date-format/m-p/130271#M10668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect. That's exactly the way to do things like this in SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your day assignment may not work with single digit dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;day=substr(worddate,1,(notdigit(worddate)-1));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should fix it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 13:03:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-date-format/m-p/130271#M10668</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2013-05-13T13:03:51Z</dc:date>
    </item>
  </channel>
</rss>

