<?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: Getting Date from text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584397#M1100339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a space before date in files. So, your formula works with this correction. I didn't mention this space&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Date(Date#(DateField, ' &lt;/SPAN&gt;&lt;SPAN style="font-size: 14.399999618530273px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;MMM D, YYYY&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;')) as DateField&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2014 09:21:20 GMT</pubDate>
    <dc:creator>yura_ratu</dc:creator>
    <dc:date>2014-04-16T09:21:20Z</dc:date>
    <item>
      <title>Getting Date from text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584390#M1100331</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 get date from text in format 'MMM D, YYYY'?&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;P&gt;Apr 1, 2014&lt;/P&gt;&lt;P&gt;Apr 12, 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584390#M1100331</guid>
      <dc:creator>yura_ratu</dc:creator>
      <dc:date>2014-04-16T09:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Date from text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584391#M1100332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=date(date#('Apr 1, 2014', 'MMM DD, YYYY'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use a text box with previous expression to check it and try different format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the script&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(date#(yoursourcedatefield, 'MMM DD, YYYY')) as DateField,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,,,,,,,,,,,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;detailed explanation here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3102"&gt;QlikView Date fields&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584391#M1100332</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-16T09:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Date from text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584392#M1100333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Date&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),'MMM dd,yyyy') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;--Jai&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584392#M1100333</guid>
      <dc:creator>jsingh71</dc:creator>
      <dc:date>2014-04-16T09:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Date from text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584393#M1100334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is your actual date format?&lt;/P&gt;&lt;P&gt;considering you have datefield in 'DD/MM/YYYY' &lt;/P&gt;&lt;P&gt;you can convert 'DD/MM/YYYY' to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt; 'MMM D, YYYY'&lt;/SPAN&gt; as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write below in your script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(DateField, 'DD/MM/YYYY'),'MMM D, YYYY') as DateField&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584393#M1100334</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-16T09:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Date from text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584394#M1100335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Thank you, but I don’t think my question was clear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;I receive files with dates in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'MMM D, YYYY' format&lt;/SPAN&gt;, but QlikView doesn't treat it as date, I'd like to format it in regular date&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584394#M1100335</guid>
      <dc:creator>yura_ratu</dc:creator>
      <dc:date>2014-04-16T09:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Date from text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584395#M1100336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Date(Date#(DateField, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14.399999618530273px; background-color: #f6f6f6;"&gt;MMM D, YYYY&lt;/SPAN&gt;')) as DateField&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584395#M1100336</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-16T09:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Date from text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584396#M1100337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, then try this:&lt;/P&gt;&lt;P&gt;Date(&amp;lt;Your Date Field&amp;gt;,'MM/DD/YY') as Date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584396#M1100337</guid>
      <dc:creator>jsingh71</dc:creator>
      <dc:date>2014-04-16T09:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Date from text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584397#M1100339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a space before date in files. So, your formula works with this correction. I didn't mention this space&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Date(Date#(DateField, ' &lt;/SPAN&gt;&lt;SPAN style="font-size: 14.399999618530273px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;MMM D, YYYY&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;')) as DateField&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:21:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Date-from-text/m-p/584397#M1100339</guid>
      <dc:creator>yura_ratu</dc:creator>
      <dc:date>2014-04-16T09:21:20Z</dc:date>
    </item>
  </channel>
</rss>

