<?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: Timestamp field issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Timestamp-field-issue/m-p/55347#M774520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on the sample file you provided... this should work because your date is already understood as date by QlikView... you don't need an interpretation function here (Date#() or TimeStamp#())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(MonthStart(ClaimSubmitDate), 'MMM YYYY') as Claim_Month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202756_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2018 11:22:13 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-18T11:22:13Z</dc:date>
    <item>
      <title>Timestamp field issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-field-issue/m-p/55345#M774518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field which has timestamp value '&lt;STRONG&gt;4/8/2010&amp;nbsp; 2:43:29 PM'.&lt;/STRONG&gt; I wanted to get the month &amp;amp; year combination out of all dates. I have tried both the&amp;nbsp; logics but still not getting the desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(monthstart(&lt;STRONG&gt;date&lt;/STRONG&gt;#(ClaimSubmitDate, 'mm/dd/yyyy hh:mm:ss tt')), 'MMM YYYY') as Claim_Month, &lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(monthstart(&lt;STRONG&gt;timestamp&lt;/STRONG&gt;#(ClaimSubmitDate, 'mm/dd/yyyy hh:mm:ss tt')), 'MMM YYYY') as Claim_Month, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please help me to understand if I am missing anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching the sample qvw and data file&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/Timestamp-field-issue/m-p/55345#M774518</guid>
      <dc:creator>gayatri7</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp field issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-field-issue/m-p/55346#M774519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&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;Date(MonthStart(T&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;imeStamp&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;#(ClaimSubmitDate, 'M/D/YYYY&amp;nbsp; h:mm:ss TT')), 'MMM YYYY') as Claim_Month,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;few things to note&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) M is for Month and m is for minute... in TimeStamp#() you use m for month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) It seems that there are two spaces between Date and time portion... if that is true, make sure to use two spaces within TimeStamp#() interpretation &lt;SPAN style="font-size: 10pt;"&gt;or you can try this&lt;/SPAN&gt;&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;Date(MonthStart(Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;#(SubField(ClaimSubmitDate, ' ', 1), 'M/D/YYYY')), 'MMM YYYY') as Claim_Month,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 11:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-field-issue/m-p/55346#M774519</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-18T11:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp field issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-field-issue/m-p/55347#M774520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on the sample file you provided... this should work because your date is already understood as date by QlikView... you don't need an interpretation function here (Date#() or TimeStamp#())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(MonthStart(ClaimSubmitDate), 'MMM YYYY') as Claim_Month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202756_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 11:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-field-issue/m-p/55347#M774520</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-18T11:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp field issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-field-issue/m-p/55348#M774521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u so much!! U r always a Saviour!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 May 2018 04:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-field-issue/m-p/55348#M774521</guid>
      <dc:creator>gayatri7</dc:creator>
      <dc:date>2018-05-26T04:06:56Z</dc:date>
    </item>
  </channel>
</rss>

