<?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: How to convert date Field(timestamp) as date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-convert-date-Field-timestamp-as-date/m-p/1722494#M722996</link>
    <description>&lt;P&gt;Thanks. It's working for me. But just wondering why did you use 'left()' function?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lily_0-1593163041421.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36322i4545F079BF9B8720/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lily_0-1593163041421.png" alt="Lily_0-1593163041421.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jun 2020 09:20:39 GMT</pubDate>
    <dc:creator>Lily</dc:creator>
    <dc:date>2020-06-26T09:20:39Z</dc:date>
    <item>
      <title>How to convert date Field(timestamp) as date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-date-Field-timestamp-as-date/m-p/1722474#M722994</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a newbie for Qlikview. I've tried several examples from forum, but still not success to convert my date field which is in timestamp to get date only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date field:&amp;nbsp;9/28/2017 3:39 am UTC&lt;/P&gt;&lt;P&gt;Result should be like this: 2017-09-28&lt;/P&gt;&lt;P&gt;Below is script that I've tried:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Date(Date#([Created On],'MM/DD/YYYY h:mm TT [.fff]'),'YYYY-MM-DD') as 'Date',&lt;BR /&gt;2) Date(Timestamp#([Created On],'MM/DD/YYYY h:mm TT [.fff]'),'YYYY-MM-DD') as 'Date',&lt;BR /&gt;3) Date(Floor(TimeStamp#([Created On], 'MM/DD/YYYY h:mm TT [.fff]')), 'YYYY-MM-DD') as 'Date',&lt;BR /&gt;4) Date(Floor(Date#([Created On], 'MM/DD/YYYY h:mm TT [.fff]')), 'YYYY-MM-DD'))) as 'Date',&lt;/P&gt;&lt;P&gt;Please help me to achieve this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-date-Field-timestamp-as-date/m-p/1722474#M722994</guid>
      <dc:creator>Lily</dc:creator>
      <dc:date>2024-11-16T18:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert date Field(timestamp) as date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-date-Field-timestamp-as-date/m-p/1722485#M722995</link>
      <description>&lt;P&gt;I tried several format options and i guess that UTC bothers the format options (when i change to GMT it works)&lt;/P&gt;&lt;P&gt;So when you only need the date you may subtract the date out of the string&lt;/P&gt;&lt;P&gt;=date(date#(left('9/28/2017 3:39 am UTC',FindOneOf('9/28/2017 3:39 am UTC',' ')),'mm/dd/yyyy'),'yyyy-mm-dd')&lt;BR /&gt;or using your field&lt;BR /&gt;=date(date#(left(&lt;SPAN&gt;[Created On],&lt;/SPAN&gt;FindOneOf(&lt;SPAN&gt;[Created On]&lt;/SPAN&gt;,' ')),'mm/dd/yyyy'),'yyyy-mm-dd')&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 08:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-date-Field-timestamp-as-date/m-p/1722485#M722995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-26T08:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert date Field(timestamp) as date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-date-Field-timestamp-as-date/m-p/1722494#M722996</link>
      <description>&lt;P&gt;Thanks. It's working for me. But just wondering why did you use 'left()' function?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lily_0-1593163041421.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36322i4545F079BF9B8720/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lily_0-1593163041421.png" alt="Lily_0-1593163041421.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 09:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-date-Field-timestamp-as-date/m-p/1722494#M722996</guid>
      <dc:creator>Lily</dc:creator>
      <dc:date>2020-06-26T09:20:39Z</dc:date>
    </item>
  </channel>
</rss>

