<?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 Date format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/319273#M1199035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm importing a daily account extract into a qlikview document.&lt;/P&gt;&lt;P&gt;The date format on the account extract is DD-MMM-YY, where the MMM is text. So today's date will show as 08-Apr-11.&lt;/P&gt;&lt;P&gt;Qlikview doesn't recognize this as a date, only as text. What can I do to change this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Apr 2011 14:06:31 GMT</pubDate>
    <dc:creator>gerhardl</dc:creator>
    <dc:date>2011-04-08T14:06:31Z</dc:date>
    <item>
      <title>Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/319273#M1199035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm importing a daily account extract into a qlikview document.&lt;/P&gt;&lt;P&gt;The date format on the account extract is DD-MMM-YY, where the MMM is text. So today's date will show as 08-Apr-11.&lt;/P&gt;&lt;P&gt;Qlikview doesn't recognize this as a date, only as text. What can I do to change this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 14:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/319273#M1199035</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2011-04-08T14:06:31Z</dc:date>
    </item>
    <item>
      <title>Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/319274#M1199036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gerhard,&lt;/P&gt;&lt;P&gt;Try the following in your load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Date(Date#(DateField, 'DD-MMM-YY')) AS DateField&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 14:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/319274#M1199036</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-04-08T14:11:25Z</dc:date>
    </item>
    <item>
      <title>Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/319275#M1199037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;Sorry for being a Qlikview spaz - but could you be more specific?&lt;/P&gt;&lt;P&gt;Where exactly whould I put that in the script? SER DateFormat?&lt;/P&gt;&lt;P&gt;Also, when you say 'datefield' am I suppose to enter the names of the fields there? Because the extract has about 20 different date fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 14:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/319275#M1199037</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2011-04-08T14:16:38Z</dc:date>
    </item>
    <item>
      <title>Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/319276#M1199038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Your script (the piece of code you need to write to pull data from the database and put into memory) will look like the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Table: // table labelLOAD TransID, // this are the fields you are loading into QlikView's memory CustID, Date(Date#(DateField, 'DD-MMM-YY')) AS DateField;SQL SELECT TransID, CustID, DateFieldFROM Table.Datasource;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The above is just an example just to see how to do the conversion in the load script, so change it to fit your needs.&lt;/P&gt;&lt;P&gt;Hope that makes more sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 14:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/319276#M1199038</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-04-08T14:22:35Z</dc:date>
    </item>
    <item>
      <title>Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/319277#M1199039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Miguel Angel Baeyens wrote:&lt;BR /&gt;Hello Gerhard,&lt;BR /&gt;Try the following in your load script:&lt;BR /&gt; &amp;lt;blockquote&amp;gt;&amp;lt;pre&amp;gt;Date(Date#(DateField, 'DD-MMM-YY')) AS DateField&lt;/PRE&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;DIV style="clear:both;"&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to do that in the load script and you and you will have to swap DateField for your date fields, and probably do it for each of you date fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 14:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/319277#M1199039</guid>
      <dc:creator />
      <dc:date>2011-04-08T14:22:42Z</dc:date>
    </item>
    <item>
      <title>Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/319278#M1199040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My load script looks like this:&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;BR /&gt;SET DecimalSep='.';&lt;BR /&gt;SET MoneyThousandSep=',';&lt;BR /&gt;SET MoneyDecimalSep='.';&lt;BR /&gt;SET MoneyFormat='R #,##0.00;R-#,##0.00';&lt;BR /&gt;SET TimeFormat='hh:mm:ss TT';&lt;BR /&gt;SET DateFormat='YYYY/MM/DD';&lt;BR /&gt;SET TimestampFormat='YYYY/MM/DD hh:mm:ss[.fff] TT';&lt;BR /&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;BR /&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD [Product Name],&lt;BR /&gt; [ID number],&lt;BR /&gt; [Account no],&lt;BR /&gt; [Card no],&lt;BR /&gt; [Account open date],&lt;/P&gt;&lt;P&gt;and then the rest of my field names, and then&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[Account Extracts\Daily_AccountExtract_A_07-APR-2011_08042011015858.txt]&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is '~', no quotes, header is 1 lines);&lt;/P&gt;&lt;P&gt;So if I have a field named [Account Open Date], where exactly should I enter Date(Date#([Account Open Date], 'DD-MMM-YY')) AS [Account Open Date]&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, 08 Apr 2011 14:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/319278#M1199040</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2011-04-08T14:45:29Z</dc:date>
    </item>
    <item>
      <title>Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/319279#M1199041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thats exactly what you need to do in your script. Give a try&lt;/P&gt;&lt;P&gt;ANDY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 16:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/319279#M1199041</guid>
      <dc:creator />
      <dc:date>2011-04-08T16:29:38Z</dc:date>
    </item>
    <item>
      <title>Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/319280#M1199042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about the previous incomplete post... try this&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD [Product Name],&lt;BR /&gt; [ID number],&lt;BR /&gt; [Account no],&lt;BR /&gt; [Card no],&lt;BR /&gt; DATE(DATE#( [Account open date], 'DD-MMM-YY')) as [Account Open Date],&lt;/P&gt;&lt;P&gt;and then rest of your fields...try it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 16:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/319280#M1199042</guid>
      <dc:creator />
      <dc:date>2011-04-08T16:31:58Z</dc:date>
    </item>
  </channel>
</rss>

