<?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 Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date/m-p/308124#M1192487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question. My CalendarDate format is MM/DD/YYYY.&lt;/P&gt;&lt;P&gt;If the value in my variable(vStartDate) is in Julian Date format I can write in this way to compare&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; CalendarDate = {'&amp;gt;=$(=Date(vStartDate))&amp;lt;=$(=Date(vEndDate))'} &amp;gt;} SalesAmount).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what if its vice versa. The Calendar Date is in Julian Format and the variable is in MM/DD?YYYY format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2011 23:12:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-21T23:12:25Z</dc:date>
    <item>
      <title>Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date/m-p/308124#M1192487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question. My CalendarDate format is MM/DD/YYYY.&lt;/P&gt;&lt;P&gt;If the value in my variable(vStartDate) is in Julian Date format I can write in this way to compare&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; CalendarDate = {'&amp;gt;=$(=Date(vStartDate))&amp;lt;=$(=Date(vEndDate))'} &amp;gt;} SalesAmount).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what if its vice versa. The Calendar Date is in Julian Format and the variable is in MM/DD?YYYY format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 23:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date/m-p/308124#M1192487</guid>
      <dc:creator />
      <dc:date>2011-06-21T23:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date/m-p/308125#M1192488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By Julian date, I assume you mean the underlying QlikView numeric, the number of days since 12/30/1899?&amp;nbsp; If the variable is still a date, just a formatted one, I believe this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Sum({&amp;lt; CalendarDate = {"&amp;gt;=$(=num(vStartDate))&amp;lt;=$(=num(vEndDate))"} &amp;gt;} SalesAmount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's not even a date, and is just a text field, I believe this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Sum({&amp;lt; CalendarDate = {"&amp;gt;=$(=date#(vStartDate,'MM/DD/YYYY'))&amp;lt;=$(=date#(vEndDate,'MM/DD/YYYY'))"} &amp;gt;} SalesAmount)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 23:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date/m-p/308125#M1192488</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-06-21T23:29:54Z</dc:date>
    </item>
  </channel>
</rss>

