<?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: extract a date from a free text field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866467#M303099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Date#(Left(Textfield,10),'MM/DD/YYYY')&lt;/STRONG&gt; as LastUpdated,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Textfield,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2015 14:41:14 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-06-10T14:41:14Z</dc:date>
    <item>
      <title>extract a date from a free text field</title>
      <link>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866464#M303096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an '&lt;STRONG&gt;Update&lt;/STRONG&gt;' field loaded in from a SharePoint site that I can't alter, that is a &lt;SPAN style="color: #575757; text-decoration: underline;"&gt;text&lt;/SPAN&gt; update.&amp;nbsp; The users always start their update with the date, then text explaining why the action is late!&amp;nbsp; I want to be able to show how long since the last update, so I'm looking for a way to extract the first 10 characters of the text (which include the date) and make that into a date field that I can use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example, the '&lt;STRONG&gt;Update&lt;/STRONG&gt;' field might contain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333399;"&gt;12/10/2014 - Projects are proposed.&amp;nbsp; A scheme paper for the first of these is ready for review&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to create a date field called '&lt;STRONG&gt;LastUpdated&lt;/STRONG&gt;' from the &lt;EM&gt;12/10/2014&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Any suggestions?&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866464#M303096</guid>
      <dc:creator />
      <dc:date>2015-06-10T14:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: extract a date from a free text field</title>
      <link>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866465#M303097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you are sure that the date is always at the start you can use date(left(text,10)) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866465#M303097</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-06-10T14:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: extract a date from a free text field</title>
      <link>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866466#M303098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left([&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Update&lt;/STRONG&gt;],10)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as "LastUpdated"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866466#M303098</guid>
      <dc:creator>fvelascog72</dc:creator>
      <dc:date>2015-06-10T14:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: extract a date from a free text field</title>
      <link>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866467#M303099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Date#(Left(Textfield,10),'MM/DD/YYYY')&lt;/STRONG&gt; as LastUpdated,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Textfield,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866467#M303099</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-10T14:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: extract a date from a free text field</title>
      <link>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866468#M303100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Update,&lt;/P&gt;&lt;P&gt;DATE#(LEFT(Update,10),'MM/DD/YYYY') AS Date&lt;/P&gt;&lt;P&gt;RESIDENT A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can find attached sample &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Hope helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Tahoma; font-size: 8pt;"&gt;&lt;SPAN dir="ltr" style="font-size: 13px;"&gt;Regards,&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&lt;STRONG&gt;David Sugito &lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt;Mobile: + 62 878 0888 9871&lt;BR /&gt;Phone: + 62 21 569 823 85 / 86&lt;BR /&gt;&lt;SPAN&gt;Email: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me@davidshuang.com"&gt;me@davidshuang.com&lt;/A&gt;&lt;BR /&gt;Site: www.davidshuang.com&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866468#M303100</guid>
      <dc:creator />
      <dc:date>2015-06-10T14:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: extract a date from a free text field</title>
      <link>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866469#M303101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks David, that was easier than I thought - but then it always is after someone has shown you the way!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I've just got to make sure the users keep entering the dates the same!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 15:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866469#M303101</guid>
      <dc:creator />
      <dc:date>2015-06-10T15:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: extract a date from a free text field</title>
      <link>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866470#M303102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look into the HELP, alt() function and its example on how to parse differently formatted dates in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 15:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/extract-a-date-from-a-free-text-field/m-p/866470#M303102</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-10T15:06:10Z</dc:date>
    </item>
  </channel>
</rss>

