<?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 format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/date-format/m-p/1235602#M393091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your script or a sample app to look into? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2017 15:52:09 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-02-21T15:52:09Z</dc:date>
    <item>
      <title>date format</title>
      <link>https://community.qlik.com/t5/QlikView/date-format/m-p/1235598#M393087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope all is well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date field with that format &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="180"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="180"&gt;valid_from&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;&lt;P&gt;12/08/2015 00:00&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I did the expression bellow in the script to extract only the date&amp;nbsp; DD/MM/YYYY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(valid_from, 'DD/MM/YYYY'), 'DD/MM/YYYY') AS detection_date&amp;nbsp; but it returns nothing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have any idea please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 13:37:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-format/m-p/1235598#M393087</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2017-02-21T13:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.qlik.com/t5/QlikView/date-format/m-p/1235599#M393088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date(Floor(TimeStamp#(valid_from, DD/MM/YYYY hh:mm'))) as detection_date&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date(Floor(TimeStamp#(valid_from, DD/MM/YYYY hh:mm')),'DD/MM/YYYY') as detection_date&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 13:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-format/m-p/1235599#M393088</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-02-21T13:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.qlik.com/t5/QlikView/date-format/m-p/1235600#M393089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Wiem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your original string, the date and time is formatted like 'DD/MM/YYYY hh:mm'&lt;/P&gt;&lt;P&gt;You need to make sure that in the Date#(valid_from, 'DD/MM/YYYY') function the date itself is formatted as how it is&lt;/P&gt;&lt;P&gt;in the original string so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(Date#(valid_from, 'DD/MM/YYYY hh:mm'), 'DD/MM/YYYY') AS detection_date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Ivo&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 13:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-format/m-p/1235600#M393089</guid>
      <dc:creator />
      <dc:date>2017-02-21T13:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.qlik.com/t5/QlikView/date-format/m-p/1235601#M393090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but it didn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 15:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-format/m-p/1235601#M393090</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2017-02-21T15:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.qlik.com/t5/QlikView/date-format/m-p/1235602#M393091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your script or a sample app to look into? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 15:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-format/m-p/1235602#M393091</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-02-21T15:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://community.qlik.com/t5/QlikView/date-format/m-p/1235603#M393092</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;I hope this is helpful to you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Floor(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;valid_from&lt;/SPAN&gt;)&amp;nbsp;&amp;nbsp; as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;valid_from&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 17:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-format/m-p/1235603#M393092</guid>
      <dc:creator>qlikview979</dc:creator>
      <dc:date>2017-02-21T17:11:29Z</dc:date>
    </item>
  </channel>
</rss>

