<?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: Dates pulled as text from Table View in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806756#M1028949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;S,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date# tells how to &lt;STRONG&gt;read&lt;/STRONG&gt; the data, that is date#(Period, 'MMM-YY') says "Read the first three characters as month, and the two after dash as year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date() function says how to &lt;STRONG&gt;represent&lt;/STRONG&gt; the data, so date(today(), 'WWWW, MMMM DD YYYY') returns Friday, February 13 2015 - no matter what is the default format of the date is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 21:22:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-13T21:22:21Z</dc:date>
    <item>
      <title>Dates pulled as text from Table View</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806750#M1028943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Community-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database access I have is to Views, not to the Oracle database itself. (Don't know if this is relevant or not).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a report off of a view that has the field "Period" - it's an SQL varchar string field, not a date.&amp;nbsp; The string only captures Month and Year .... Jan-15, Feb-15, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried Dual, Date#, and other posted community solutions, both in the script and the sorting, and no matter what I do, my dates still sort as alpha (Apr-02, Aug-01, Dec-01, Feb-02, Jan-02...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&amp;nbsp; Does being required to pull from views make a difference in general?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806750#M1028943</guid>
      <dc:creator />
      <dc:date>2015-02-13T21:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dates pulled as text from Table View</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806751#M1028944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can extract the 3 letter month name using the left function and then use mapping load to convert Jan to 1, Feb to 2 and so on and then you can create a date with the month names using MakeDate Function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might be a long way to do a easy thing, but don't know any better way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806751#M1028944</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-13T21:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dates pulled as text from Table View</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806752#M1028945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you try following expression DATE#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Period&lt;/SPAN&gt;,'MMM-YY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nandkishor S. Pandirkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806752#M1028945</guid>
      <dc:creator />
      <dc:date>2015-02-13T21:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dates pulled as text from Table View</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806753#M1028946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date# is my preference.&amp;nbsp; Maybe you did something wrong?&amp;nbsp; Try&lt;/P&gt;&lt;P&gt;date(date#(Period, 'MMM-YY'), 'MMM-YY')&lt;/P&gt;&lt;P&gt;It has nothing to do with it being an Oracle view.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806753#M1028946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-13T21:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dates pulled as text from Table View</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806754#M1028947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=date(Date#('Jan-15', 'MMM-YY'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=date(Date#(YourOracleField, 'MMM-YY'))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:16:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806754#M1028947</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-13T21:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dates pulled as text from Table View</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806755#M1028948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/msolomov"&gt;msolomov&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN class="icon-status-icon icon-partner" style="margin: 0 0 0 4px; font-weight: inherit; font-style: inherit; font-size: 11.6999998092651px; font-family: inherit;" title="Partner"&gt;, this is totally unrelated, but would you be able to tell me what is a difference between DATE function and Date# function. I have seen a lot of posts which discuss the difference and explain them in details, but never really understood the difference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806755#M1028948</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-13T21:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dates pulled as text from Table View</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806756#M1028949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;S,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date# tells how to &lt;STRONG&gt;read&lt;/STRONG&gt; the data, that is date#(Period, 'MMM-YY') says "Read the first three characters as month, and the two after dash as year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date() function says how to &lt;STRONG&gt;represent&lt;/STRONG&gt; the data, so date(today(), 'WWWW, MMMM DD YYYY') returns Friday, February 13 2015 - no matter what is the default format of the date is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806756#M1028949</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-13T21:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dates pulled as text from Table View</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806757#M1028950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This didn't do it, unfortunately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806757#M1028950</guid>
      <dc:creator />
      <dc:date>2015-02-13T21:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dates pulled as text from Table View</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806758#M1028951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That totally makes sense. Thanks for your time on explaining the difference between the two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806758#M1028951</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-13T21:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dates pulled as text from Table View</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806759#M1028952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BINGO!!!!!!!!! I think I left out something when I did date# before, and then fixed the sort in the listbox expression. thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 21:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-pulled-as-text-from-Table-View/m-p/806759#M1028952</guid>
      <dc:creator />
      <dc:date>2015-02-13T21:27:17Z</dc:date>
    </item>
  </channel>
</rss>

