<?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: Date -10 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414289#M427404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not expert in MySql, but it seems that abbreviated month is parsed there by '&lt;STRONG&gt;%b&lt;/STRONG&gt;'. Try like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;str_to_date(a.date, '%d-%&lt;STRONG&gt;b&lt;/STRONG&gt;-%y')&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yes, be careful about brackets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 12:19:57 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2017-10-24T12:19:57Z</dc:date>
    <item>
      <title>Date -10</title>
      <link>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414282#M427397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All. I would like to extract table date using a date but the key is if the table data is not older than 10 days I would like to drop that. In essence 11+ days is when I need to bring the table date into my chart. The reason for the -10 is as an example taking into consideration today's date minus 10 days than start pulling table data. I hope this makes sense. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 17:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414282#M427397</guid>
      <dc:creator>pandreozzi</dc:creator>
      <dc:date>2017-10-23T17:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Date -10</title>
      <link>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414283#M427398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fields&lt;/P&gt;&lt;P&gt;FROM [TABELA]&lt;/P&gt;&lt;P&gt;WHERE DateField &amp;gt;= (Today() - 10)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 18:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414283#M427398</guid>
      <dc:creator>MarcoARaymundo</dc:creator>
      <dc:date>2017-10-23T18:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Date -10</title>
      <link>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414284#M427399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marco. I just found that the date is stored at text. Can anyone show me how to use the string to date function in the select statement to convert the text version of the date to a real date. The current format is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DD-MMM-YY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to convert it to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MM-DD-YYYY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 11:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414284#M427399</guid>
      <dc:creator>pandreozzi</dc:creator>
      <dc:date>2017-10-24T11:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date -10</title>
      <link>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414285#M427400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use date#() to covert the string/text to proper date and date() to format it to desired format. Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Date(&lt;STRONG&gt;Date#&lt;/STRONG&gt;(DateField, 'DD-MMM-YY'), 'MM-DD-YYYY')&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 11:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414285#M427400</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-24T11:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date -10</title>
      <link>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414286#M427401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tresesco, thanks for your reply. However this does not work in the select statement only on the load statement. I need to convert this out of the DB as I follow up with a case statement that will use the date in the findings. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 12:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414286#M427401</guid>
      <dc:creator>pandreozzi</dc:creator>
      <dc:date>2017-10-24T12:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Date -10</title>
      <link>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414287#M427402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select statement gets executed in your DB rather than qv. Therefore, you may use the similar date parsing functions that your DB supports, like in Oracle TO_DATE().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 12:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414287#M427402</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-24T12:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date -10</title>
      <link>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414288#M427403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;agree as I am using the followingstr_to_date(a.date, '%d-%m-%y'), '%d/%m/%y') NEWNAME,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;str_to_date(a.date, '%d-%m-%y'), '%d/%m/%y') NEWNAME,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not seem to work and I have also tried:&lt;BR /&gt;date_format str_to_date(a.date, '%d-%m-%y'), '%d/%m/%y') NEWNAME,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 12:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414288#M427403</guid>
      <dc:creator>pandreozzi</dc:creator>
      <dc:date>2017-10-24T12:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Date -10</title>
      <link>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414289#M427404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not expert in MySql, but it seems that abbreviated month is parsed there by '&lt;STRONG&gt;%b&lt;/STRONG&gt;'. Try like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;str_to_date(a.date, '%d-%&lt;STRONG&gt;b&lt;/STRONG&gt;-%y')&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yes, be careful about brackets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 12:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414289#M427404</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-24T12:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Date -10</title>
      <link>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414290#M427405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok. I will try that and let you know. I took my format off stackoverflow web site&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 12:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414290#M427405</guid>
      <dc:creator>pandreozzi</dc:creator>
      <dc:date>2017-10-24T12:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Date -10</title>
      <link>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414291#M427406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tresesco, that worked. who knew that d (month) is actually m(month) appreciate your assistance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 12:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-10/m-p/1414291#M427406</guid>
      <dc:creator>pandreozzi</dc:creator>
      <dc:date>2017-10-24T12:50:27Z</dc:date>
    </item>
  </channel>
</rss>

