<?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 a timestamp column in Year YYYY format? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440673#M809172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;Year(Date#([Ordered Date], 'DD/MM/YY hh:mm TT'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2017 06:16:19 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2017-10-12T06:16:19Z</dc:date>
    <item>
      <title>How to convert a timestamp column in Year YYYY format?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440671#M809170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried using the YEAR() function but I am not getting any records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imported an excel file in my qlikview and I wanted to extract year from a timestamp column, but I am unbale to do so.&lt;/P&gt;&lt;P&gt;What could be the error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA screenshot&lt;/P&gt;&lt;P&gt;I want to Year from the ORDERED DATE list box,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example &lt;/P&gt;&lt;P&gt;2014&lt;/P&gt;&lt;P&gt;2015&lt;/P&gt;&lt;P&gt;2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440671#M809170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a timestamp column in Year YYYY format?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440672#M809171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This either in Script / Listbox Expression ..&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(Date#([ORDERED DATE],'DD/MM/YY hh:mm TT'),'YYYY')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 06:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440672#M809171</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-12T06:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a timestamp column in Year YYYY format?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440673#M809172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;Year(Date#([Ordered Date], 'DD/MM/YY hh:mm TT'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 06:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440673#M809172</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-12T06:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a timestamp column in Year YYYY format?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440674#M809173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one&lt;/P&gt;&lt;P&gt;&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;&lt;STRONG&gt;&lt;EM&gt;Year( Date(Date#([Ordered Date], 'DD/MM/YY hh:mm TT'),'YYYY') )&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 06:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440674#M809173</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-12T06:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a timestamp column in Year YYYY format?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440675#M809174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I want distinct year in the list box, how do I get that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 06:34:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440675#M809174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-12T06:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a timestamp column in Year YYYY format?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440676#M809175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, even this worked. But I want distinct values in listbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 06:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440676#M809175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-12T06:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a timestamp column in Year YYYY format?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440677#M809176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Distinct May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In script&lt;/P&gt;&lt;P&gt;Load Distinct &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Date(Date#([ORDERED DATE],'DD/MM/YY hh:mm TT'),'YYYY') as DateFieldName;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In Listbox, Try this? and give it caption as business&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Aggr(&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Date(Date#([ORDERED DATE],'DD/MM/YY hh:mm TT'),'YYYY'), [ORDERED DATE])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 06:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440677#M809176</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-12T06:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a timestamp column in Year YYYY format?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440678#M809177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using year() as I showed above should give distinct values in list box. Could share a sample qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 06:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440678#M809177</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-12T06:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a timestamp column in Year YYYY format?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440679#M809178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, it worked when applied in script...got distinct year! Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 06:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440679#M809178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-12T06:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a timestamp column in Year YYYY format?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440680#M809179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you close the thread now with appropriate answers correct / Helpful or references.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 12:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440680#M809179</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-12T12:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert a timestamp column in Year YYYY format?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440681#M809180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Year( &lt;SPAN style="color: #ff0000;"&gt;DISTINCT&lt;/SPAN&gt; Date(Date#([Ordered Date], 'DD/MM/YY hh:mm TT'),'YYYY') )&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 13:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-a-timestamp-column-in-Year-YYYY-format/m-p/1440681#M809180</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-12T13:55:47Z</dc:date>
    </item>
  </channel>
</rss>

