<?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: Getting month number from month name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-month-number-from-month-name/m-p/726379#M1059333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Truly sorry about that because I thought giving a simple example can make less confuse to others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway your script works!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Oct 2014 03:03:59 GMT</pubDate>
    <dc:creator>oliviatww</dc:creator>
    <dc:date>2014-10-15T03:03:59Z</dc:date>
    <item>
      <title>Getting month number from month name</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-month-number-from-month-name/m-p/726375#M1059329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to get month name from month number, but not sure how to get month number from month name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aug -&amp;gt; 08&lt;/P&gt;&lt;P&gt;Jan -&amp;gt; 01&lt;/P&gt;&lt;P&gt;Dec -&amp;gt; 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 01:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-month-number-from-month-name/m-p/726375#M1059329</guid>
      <dc:creator>oliviatww</dc:creator>
      <dc:date>2014-10-15T01:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting month number from month name</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-month-number-from-month-name/m-p/726376#M1059330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Num(Match(MonthDimensionName, 'Jan', 'Feb', 'Mar', 'Apr', 'May'................................), '00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(Date#(MonthDimensionName, 'MMM'), 'MM')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 02:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-month-number-from-month-name/m-p/726376#M1059330</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-10-15T02:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting month number from month name</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-month-number-from-month-name/m-p/726377#M1059331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the second example you gave, the "=Date(Date#(MonthDimensionName, 'MMM'), 'MM')" and it works fine if MonthDimensionName is any number and that it is not used/ apply in another function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have a field call PostDate where the format of that field is '10AUG2014:00:00:00', what I would like to do is to convert them into a date like '10-08-2014' or any format that is related to date. So basically the formulae you gave don't work when I apply that in MakeDate() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. =MakeDate( Mid(PostDate, 6, 4), Date(Date#(Mid(PostDate, 3, 3), 'MMM'), 'MM'), Left(PostDate, 2)) returns -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it work if&lt;/P&gt;&lt;P&gt;E.g. =MakeDate( Mid(PostDate, 6, 4), 10, Left(PostDate, 2)) return 10-08-2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Assuming '10AUG2014:00:00:00' is selected in the PostDate listbox)&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, 15 Oct 2014 02:38:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-month-number-from-month-name/m-p/726377#M1059331</guid>
      <dc:creator>oliviatww</dc:creator>
      <dc:date>2014-10-15T02:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting month number from month name</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-month-number-from-month-name/m-p/726378#M1059332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially you mentioned this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aug -&amp;gt; 08&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jan -&amp;gt; 01&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dec -&amp;gt; 12&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;So, I given that script.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now try this script&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Date(MakeDate( Num(Mid('10AUG2014:00:00:00', 6, 4)), Month(Date#(Capitalize(Mid('10AUG2014:00:00:00', 3, 3)), 'MMM')), Num(Left('10AUG2014:00:00:00', 2))), 'DD-MM-YYYY')&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;OR &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Date(MakeDate( Num(Mid('10AUG2014:00:00:00', 6, 4)), Month(Date#(Mid('10AUG2014:00:00:00', 3, 3), 'MMMM')), Num(Left('10AUG2014:00:00:00', 2))), 'DD-MM-YYYY')&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 02:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-month-number-from-month-name/m-p/726378#M1059332</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-10-15T02:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting month number from month name</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-month-number-from-month-name/m-p/726379#M1059333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Truly sorry about that because I thought giving a simple example can make less confuse to others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway your script works!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 03:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-month-number-from-month-name/m-p/726379#M1059333</guid>
      <dc:creator>oliviatww</dc:creator>
      <dc:date>2014-10-15T03:03:59Z</dc:date>
    </item>
  </channel>
</rss>

