<?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: Forcing date format in load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Forcing-date-format-in-load/m-p/1864167#M1216245</link>
    <description>&lt;P&gt;date/timestamps are dual field type, so despite it having same text displayed, it's still different values due to timestamp.&amp;nbsp; you need to alter the value (ex. Floor())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Date(Floor(Date#(dtDelivered,'YYYY.MM.DD hh:mm:ss')), 'YYYY-MM-DD') as Date_envois_force&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Nov 2021 21:32:40 GMT</pubDate>
    <dc:creator>stevejoyce</dc:creator>
    <dc:date>2021-11-27T21:32:40Z</dc:date>
    <item>
      <title>Forcing date format in load</title>
      <link>https://community.qlik.com/t5/QlikView/Forcing-date-format-in-load/m-p/1864166#M1216244</link>
      <description>&lt;P&gt;I do believe I'm using the correct formula to accomplish the task of forcing my field to be YYYY-MM-DD:&lt;/P&gt;
&lt;P&gt;Date(Date#(dtDelivered,'YYYY.MM.DD hh:mm:ss'), 'YYYY-MM-DD hh:mm:ss') as dtDelivered,&lt;BR /&gt;Date(Date#(dtDelivered,'YYYY.MM.DD hh:mm:ss'), 'YYYY-MM-DD') as Date_envois_force&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alas,&amp;nbsp;Date_envois is treated like it has multiple values, the exact same that we're there before forcing it to the correct format:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sibrulotte_0-1638047870896.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67516i479A50AC7E3A48C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sibrulotte_0-1638047870896.png" alt="sibrulotte_0-1638047870896.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What should I be doing to obtain only 2021-05-05 ?!?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Nov 2021 21:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forcing-date-format-in-load/m-p/1864166#M1216244</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2021-11-27T21:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing date format in load</title>
      <link>https://community.qlik.com/t5/QlikView/Forcing-date-format-in-load/m-p/1864167#M1216245</link>
      <description>&lt;P&gt;date/timestamps are dual field type, so despite it having same text displayed, it's still different values due to timestamp.&amp;nbsp; you need to alter the value (ex. Floor())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Date(Floor(Date#(dtDelivered,'YYYY.MM.DD hh:mm:ss')), 'YYYY-MM-DD') as Date_envois_force&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Nov 2021 21:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Forcing-date-format-in-load/m-p/1864167#M1216245</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-11-27T21:32:40Z</dc:date>
    </item>
  </channel>
</rss>

