<?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 Question regarding Month() Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-regarding-Month-Function/m-p/438133#M1151712</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;in the Help section the description of the Month() function says as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff;"&gt;Month. Returns a &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;text &lt;/STRONG&gt;&lt;/SPAN&gt;string representing the month when the fraction of expr is interpreted as a date, but can be formatted as a number.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff;"&gt;Example:&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="color: #0000ff;"&gt;month( '1971-10-30' ) returns Oct.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;(Worth noting that the functions Year() and Day() return &lt;STRONG&gt;integer &lt;/STRONG&gt;and not &lt;STRONG&gt;text&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;However, in the Edit Script section, when building a calendar and using the Month() function it returns an integer 1, 2, 3, ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Why is the difference and how can I get the numerical value of the Month(Today()) or Month(Now())?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Apr 2013 18:58:34 GMT</pubDate>
    <dc:creator>jduenyas</dc:creator>
    <dc:date>2013-04-09T18:58:34Z</dc:date>
    <item>
      <title>Question regarding Month() Function</title>
      <link>https://community.qlik.com/t5/QlikView/Question-regarding-Month-Function/m-p/438133#M1151712</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;in the Help section the description of the Month() function says as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff;"&gt;Month. Returns a &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;text &lt;/STRONG&gt;&lt;/SPAN&gt;string representing the month when the fraction of expr is interpreted as a date, but can be formatted as a number.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff;"&gt;Example:&lt;/EM&gt;&lt;BR /&gt;&lt;EM style="color: #0000ff;"&gt;month( '1971-10-30' ) returns Oct.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;(Worth noting that the functions Year() and Day() return &lt;STRONG&gt;integer &lt;/STRONG&gt;and not &lt;STRONG&gt;text&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;However, in the Edit Script section, when building a calendar and using the Month() function it returns an integer 1, 2, 3, ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Why is the difference and how can I get the numerical value of the Month(Today()) or Month(Now())?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 18:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-regarding-Month-Function/m-p/438133#M1151712</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2013-04-09T18:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding Month() Function</title>
      <link>https://community.qlik.com/t5/QlikView/Question-regarding-Month-Function/m-p/438134#M1151713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write your formula like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(month(now()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will return the numerical version of the month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 20:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-regarding-Month-Function/m-p/438134#M1151713</guid>
      <dc:creator />
      <dc:date>2013-04-09T20:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding Month() Function</title>
      <link>https://community.qlik.com/t5/QlikView/Question-regarding-Month-Function/m-p/438135#M1151714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;That did the trick!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 20:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-regarding-Month-Function/m-p/438135#M1151714</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2013-04-09T20:54:48Z</dc:date>
    </item>
  </channel>
</rss>

