<?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: Change from DATETIME to DATE in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041428#M934078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi maxgro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;but since I am pulling directly from database without QVD&lt;/P&gt;&lt;P&gt;LOAD does not work but only SELECT works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when I use SELECT, I cannot seem to use any functions.&lt;/P&gt;&lt;P&gt;is that true?&lt;/P&gt;&lt;P&gt;do you know anyway I can trim the date part when I am using SELECT?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2016 19:17:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-26T19:17:08Z</dc:date>
    <item>
      <title>Change from DATETIME to DATE</title>
      <link>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041424#M934074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am pulling date directly from my database and it looks like this : 2005-02-28 15:46:54&lt;/P&gt;&lt;P&gt;I want to seperate out the date part from the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I am pulling from QVD, DATE(FLOOR(CREATED_DT)) works.&lt;/P&gt;&lt;P&gt;but since it is pulling directly from database, it says the date function is not built in thus I cannot use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I take out only the date part when i am pulling directly from database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 18:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041424#M934074</guid>
      <dc:creator />
      <dc:date>2016-02-26T18:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Change from DATETIME to DATE</title>
      <link>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041425#M934075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date(Floor(&lt;SPAN style="font-size: 13.3333px;"&gt;CREATED_TimeStamp)) as CREATED_DT,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Frac(&lt;SPAN style="font-size: 13.3333px;"&gt;CREATED_TimeStamp)) as CREATED_Time;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD TimeStamp(TimeStamp#(CREATED_DT, 'YYYY-MM-DD hh:mm:ss') as CREATED_TimeStamp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Source;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 18:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041425#M934075</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-26T18:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change from DATETIME to DATE</title>
      <link>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041426#M934076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use the interpretation function (# at the end) and formatting function to get your result&lt;/P&gt;&lt;P&gt;also frac and floor can be useful to get the time and the date part&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116184_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 18:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041426#M934076</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-02-26T18:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change from DATETIME to DATE</title>
      <link>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041427#M934077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;but since I am pulling directly from database without QVD&lt;/P&gt;&lt;P&gt;LOAD does not work but only SELECT works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when I use SELECT, I cannot seem to use any functions.&lt;/P&gt;&lt;P&gt;is that true?&lt;/P&gt;&lt;P&gt;do you know anyway I can trim the date part when I am using SELECT?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 19:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041427#M934077</guid>
      <dc:creator />
      <dc:date>2016-02-26T19:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Change from DATETIME to DATE</title>
      <link>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041428#M934078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi maxgro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;but since I am pulling directly from database without QVD&lt;/P&gt;&lt;P&gt;LOAD does not work but only SELECT works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when I use SELECT, I cannot seem to use any functions.&lt;/P&gt;&lt;P&gt;is that true?&lt;/P&gt;&lt;P&gt;do you know anyway I can trim the date part when I am using SELECT?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 19:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041428#M934078</guid>
      <dc:creator />
      <dc:date>2016-02-26T19:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change from DATETIME to DATE</title>
      <link>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041429#M934079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use a preceding load as I mentioned above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;CREATED_TimeStamp)) as CREATED_DT,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Frac(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;CREATED_TimeStamp)) as CREATED_Time;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD *,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeStamp(TimeStamp#(CREATED_DT, 'YYYY-MM-DD hh:mm:ss') as CREATED_TimeStamp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;SQL SELECT .....&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Put the red part on top of your SQL Select statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 19:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041429#M934079</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-26T19:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change from DATETIME to DATE</title>
      <link>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041430#M934080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to trim it in&amp;nbsp; first go when reading through SELECT, Qlikview provides preceding load (As Sunny mentioned two extra load on top of select) or RESIDENT load to format your date using interpretation functions suggested by MaxGro.&lt;/P&gt;&lt;P&gt;May be I misunderstood the requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 19:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041430#M934080</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-02-26T19:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change from DATETIME to DATE</title>
      <link>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041431#M934081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load works in preceding load&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2972"&gt;Preceding Load&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;you should put the interpretation and formatting function in the load part&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 19:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-from-DATETIME-to-DATE/m-p/1041431#M934081</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-02-26T19:52:44Z</dc:date>
    </item>
  </channel>
</rss>

