<?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 Data - Strip Unwanted Information in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979116#M961897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;DateFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='MM/DD/YYYY'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Date(Floor(Datefieldname)) in you what to do in qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be more efficient to do it in sql from where you are extracting the data. You can use convert() function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2015 17:47:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-14T17:47:20Z</dc:date>
    <item>
      <title>Date Data - Strip Unwanted Information</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979113#M961894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am loading data with date fields that have the following format: mm/dd/yyyy hh:mm:ss PM PDT&lt;/P&gt;&lt;P&gt;(example 10/14/2015 11:44:13 AM PDT).&lt;/P&gt;&lt;P&gt;I only want the month, day and year. What is the easiest way to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 15:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979113#M961894</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2015-10-14T15:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date Data - Strip Unwanted Information</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979114#M961895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,you can do:&lt;/P&gt;&lt;P&gt;Date(Date#(Left(DateField, 10), 'mm/dd/yyyy')) //returns the date in the date format of the QV document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From there in example for year you can do:&lt;/P&gt;&lt;P&gt;Year(Date#(Left(DateField, 10), 'mm/dd/yyyy'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or using preceding load:&lt;/P&gt;&lt;P&gt;LOAD Date, year(Date) as Year, month(Date) as Month, Day(Date) as Day;&lt;/P&gt;&lt;P&gt;LOAD Date(Date#(Left(DateField, 10), 'mm/dd/yyyy')) as Date&lt;/P&gt;&lt;P&gt;FROM ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 15:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979114#M961895</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-14T15:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Date Data - Strip Unwanted Information</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979115#M961896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The easiest way would just be to put Date() around the field in the load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(FieldName) as FieldName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function defaults to mm/dd/yy format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 17:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979115#M961896</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2015-10-14T17:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Date Data - Strip Unwanted Information</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979116#M961897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;DateFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='MM/DD/YYYY'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Date(Floor(Datefieldname)) in you what to do in qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be more efficient to do it in sql from where you are extracting the data. You can use convert() function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 17:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979116#M961897</guid>
      <dc:creator />
      <dc:date>2015-10-14T17:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date Data - Strip Unwanted Information</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979117#M961898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, but I selected incorrectly for "Correct Answer". The correct answer was Rubens (however I did have to change my setting to "MM/DD/YYYY" which Tripti Gupta stated (so I can get 01/01/2015 vs 1/1/2015).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 23:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979117#M961898</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2015-10-14T23:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date Data - Strip Unwanted Information</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979118#M961899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tripti&lt;/P&gt;&lt;P&gt;When I used your code, I did not get any data to return. Only blanks (no error occurred)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor([Date Originated])) as [Date Originated2],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 23:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979118#M961899</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2015-10-14T23:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date Data - Strip Unwanted Information</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979119#M961900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff, where are you trying the expression. Use it in Load Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp; Date(Floor([Date Originated])) as [Date Originated2] from xx.qvd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Then in your chart you can directly use [Date Originated2]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 12:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979119#M961900</guid>
      <dc:creator />
      <dc:date>2015-10-16T12:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date Data - Strip Unwanted Information</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979120#M961901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tripti:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did do it in the Load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 14:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Data-Strip-Unwanted-Information/m-p/979120#M961901</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2015-10-16T14:22:23Z</dc:date>
    </item>
  </channel>
</rss>

