<?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: Makedate function not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831602#M292622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this...&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(MakeDate(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; right([Timesheet Entry Date],4),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; applymap('Month_Map',left(upper([Timesheet Entry Date]),3),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; num(trim(TextBetween([Timesheet Entry Date],' ',','))))))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let me know the Date Format inside your script..&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SET DateFormat=&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2015 15:37:04 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-03-31T15:37:04Z</dc:date>
    <item>
      <title>Makedate function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831597#M292617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a text field with Date in format Mmm dd, yyyy (ex: Jan 8, 2015, Mar 13, 2015)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlik wont recognize it as date so trying to use the makedate function below and the year and month work fine but the Day comes through as 1 only.&amp;nbsp; But when I pull the textbetween function out on its own and run it, I get the actual day number (8, 13).&amp;nbsp; Why is it putting in a 1 when used in MakeDate function.&amp;nbsp; I tried to convert to Num and trim spaces but still doesn't work.&amp;nbsp; It appears it is not recognizing it as a number.&amp;nbsp; what am I missing and is there a better way to get the Day out rather than using the textbetween.&amp;nbsp; the number is either 1 or 2 digits so cannot use mid function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MakeDate(&lt;/P&gt;&lt;P&gt;&amp;nbsp; right([Timesheet Entry Date],4),&lt;/P&gt;&lt;P&gt;&amp;nbsp; applymap('Month_Map',left(upper([Timesheet Entry Date]),3),&lt;/P&gt;&lt;P&gt;&amp;nbsp; num(trim(TextBetween([Timesheet Entry Date],' ',',')))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 15:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831597#M292617</guid>
      <dc:creator />
      <dc:date>2015-03-31T15:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Makedate function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831598#M292618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use below line in your script while loading the date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(Date#(YourDateField,'MMM D, YYYY'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 15:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831598#M292618</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-31T15:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Makedate function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831599#M292619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had success with this formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Jan 13, 2015', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FindOneOf&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Jan 13, 2015',',')-2,2) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;it works with 13 and with 8 in a textbox&lt;/P&gt;&lt;P&gt;hope it works for you too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 15:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831599#M292619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-31T15:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Makedate function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831600#M292620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANK YOU!!!! WORKED PERFECTLY and SO MUCH SIMPLER!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still confused why the above doesn't work because the same exact one works when embedded in the Weekstart() function.&amp;nbsp; It actually gives me the correct weekstart based on the date, not the first of month week start.&amp;nbsp; I copy and pasted it from one to the other.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 15:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831600#M292620</guid>
      <dc:creator />
      <dc:date>2015-03-31T15:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Makedate function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831601#M292621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Date(Date#('Jun 8, 2015','MMM D, YYYY'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 15:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831601#M292621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-31T15:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Makedate function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831602#M292622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this...&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(MakeDate(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; right([Timesheet Entry Date],4),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; applymap('Month_Map',left(upper([Timesheet Entry Date]),3),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; num(trim(TextBetween([Timesheet Entry Date],' ',','))))))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let me know the Date Format inside your script..&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SET DateFormat=&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 15:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831602#M292622</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-31T15:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Makedate function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831603#M292623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly close the thread if you have received your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 15:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831603#M292623</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-31T15:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Makedate function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831604#M292624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean by "close the thread"&amp;nbsp; I believe we want others to be able to search and find the answer via this thread.&amp;nbsp; I marked your answer as correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 17:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Makedate-function-not-working/m-p/831604#M292624</guid>
      <dc:creator />
      <dc:date>2015-04-02T17:00:27Z</dc:date>
    </item>
  </channel>
</rss>

