<?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: Create new (date) column by pulling date from Detailed Comment field in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-new-date-column-by-pulling-date-from-Detailed-Comment/m-p/367015#M24025</link>
    <description>&lt;P&gt;To create a character date, you might try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;scan(t1.CommentsPrinted, -1, ' ')&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jun 2017 15:55:06 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2017-06-14T15:55:06Z</dc:date>
    <item>
      <title>Create new (date) column by pulling date from Detailed Comment field</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-new-date-column-by-pulling-date-from-Detailed-Comment/m-p/367012#M24024</link>
      <description>&lt;P&gt;I am pulling comments that end with a date in the following format MM/DD/YYY and I'm trying to pull the dates to create a separate date column. I tried multiple formulas and I'm still not getting an output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the comments below, I am trying to pullout the dates:&lt;/P&gt;&lt;P&gt;- 10 Cans of Soda Safeway &lt;STRONG&gt;05/10/2015&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- 3 pounds of Salmon Whole Foods &lt;STRONG&gt;06/17/2017&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of the formulas I used is the following:&lt;/P&gt;&lt;P&gt;- SUBSTR(RIGHT(INPUT(t1.CommentsPrinted,&lt;STRIKE&gt;32&lt;/STRIKE&gt;.)), 10.)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CJ&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 15:43:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-new-date-column-by-pulling-date-from-Detailed-Comment/m-p/367012#M24024</guid>
      <dc:creator>chrisjab</dc:creator>
      <dc:date>2017-06-14T15:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create new (date) column by pulling date from Detailed Comment field</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-new-date-column-by-pulling-date-from-Detailed-Comment/m-p/367015#M24025</link>
      <description>&lt;P&gt;To create a character date, you might try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;scan(t1.CommentsPrinted, -1, ' ')&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 15:55:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-new-date-column-by-pulling-date-from-Detailed-Comment/m-p/367015#M24025</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-06-14T15:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create new (date) column by pulling date from Detailed Comment field</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-new-date-column-by-pulling-date-from-Detailed-Comment/m-p/367020#M24026</link>
      <description>&lt;P&gt;Use the SCAN function with a negative index to get the rightmost text and then use the INPUT function with the proper informat to convert the char value to a SAS date value.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 15:58:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-new-date-column-by-pulling-date-from-Detailed-Comment/m-p/367020#M24026</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2017-06-14T15:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create new (date) column by pulling date from Detailed Comment field</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-new-date-column-by-pulling-date-from-Detailed-Comment/m-p/367031#M24027</link>
      <description>&lt;P&gt;Thank You !&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 16:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Create-new-date-column-by-pulling-date-from-Detailed-Comment/m-p/367031#M24027</guid>
      <dc:creator>chrisjab</dc:creator>
      <dc:date>2017-06-14T16:24:39Z</dc:date>
    </item>
  </channel>
</rss>

