<?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 in script not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629360#M1089344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good it works now.&lt;/P&gt;&lt;P&gt;Anyway, a piece of advice...&amp;nbsp; Format pattern is case sensitive, for example MM is for months, mm is for minutes.&amp;nbsp; DD and dd maybe work the same way, but it better to be consistent and use capital letters for day/month/year, and small for hours/minutes/seconds, as in DD/MM/YYYY hh:mm:ss&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2014 12:41:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-27T12:41:33Z</dc:date>
    <item>
      <title>Date in script not working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629354#M1089338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, first of all thank you for any help.&lt;/P&gt;&lt;P&gt;in my data excel file there is a timestamp in the format 'dd/mm/yy hh:mm' ~( the apostraphies are actually there!)&lt;/P&gt;&lt;P&gt;now in my scipt i use the following to extract the date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Date(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,2,8),'dd/MM/YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;for some reason this doesnt work at all, it works for some date but not others, i think it gets confused but I dont know why.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;to try n identify what is going wrong I load in just one file and clear as day in the source file the timestamp says '28/04/2014 13:01' but for some reason qlikview is showing the 8/05/2014.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;just to make life more dificult I am using a Generic Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 12:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629354#M1089338</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2014-05-27T12:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date in script not working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629355#M1089339</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;Can you post your Excel here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 12:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629355#M1089339</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-05-27T12:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Date in script not working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629356#M1089340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard to tell without seeing your excel file.&amp;nbsp; Try this&lt;/P&gt;&lt;P&gt;date(floor(Time), 'DD/MM/YYYY') as Date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 12:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629356#M1089340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-27T12:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date in script not working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629357#M1089341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using Date#() like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Date(&lt;STRONG&gt;Date#(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,2,8),'DD/MM/YYYY')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 12:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629357#M1089341</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-05-27T12:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date in script not working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629358#M1089342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im actualy not sure what was wrong but its fixed, I never changed anything but loading in one file at a time worked. must of been a computing error, not sure why though wasnt that many records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the answers anyway guys, forum as supportive as always &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 12:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629358#M1089342</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2014-05-27T12:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date in script not working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629359#M1089343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you say it is works for you if not then you can try with below script also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(Date#&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,2,8),'DD/MM/YYYY'),'DD/MM/YYY' ) &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;From Location;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 12:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629359#M1089343</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-27T12:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Date in script not working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629360#M1089344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good it works now.&lt;/P&gt;&lt;P&gt;Anyway, a piece of advice...&amp;nbsp; Format pattern is case sensitive, for example MM is for months, mm is for minutes.&amp;nbsp; DD and dd maybe work the same way, but it better to be consistent and use capital letters for day/month/year, and small for hours/minutes/seconds, as in DD/MM/YYYY hh:mm:ss&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 12:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629360#M1089344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-27T12:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Date in script not working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629361#M1089345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thats a nice bit oif advice thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 12:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-in-script-not-working/m-p/629361#M1089345</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2014-05-27T12:45:16Z</dc:date>
    </item>
  </channel>
</rss>

