<?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: Creating a date out of a string with odd format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384799#M143755</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - I'll look at it when I get a moment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2012 09:39:52 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2012-09-13T09:39:52Z</dc:date>
    <item>
      <title>Creating a date out of a string with odd format</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384790#M143746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got a date type field in format 'MMMMM dd, YYYY HH:MM' and I need to make something sensible out of it,&amp;nbsp; that will still sort correctly as months.&lt;/P&gt;&lt;P&gt;E.g. March 8, 2012 09:25&amp;nbsp; or March 27, 2012 10:47&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this stage when I "extract"&amp;nbsp; the month, for example, by using &lt;SPAN style="font-size: 8pt;"&gt; &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,' ')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month, &lt;SPAN style="color: #000000; font-size: 10pt;"&gt;I get the month I want,&amp;nbsp; but it then sorts in an Alphabetic way,&amp;nbsp; not in month sequence.&amp;nbsp; I need all the data found in this field, each in their own format.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;ANY help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 09:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384790#M143746</guid>
      <dc:creator />
      <dc:date>2012-09-06T09:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a date out of a string with odd format</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384791#M143747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(YourDateField,'MMMM dd, YYYY hh:mm'),'MMMM dd, YYYY hh:mm')&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;Month(Date#(YourDateField,'MMMM dd, YYYY hh:mm'))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 09:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384791#M143747</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-09-06T09:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a date out of a string with odd format</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384792#M143748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&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;/P&gt;&lt;P&gt;No luck - this is my code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'MMMM dd, YYYY hh:mm'),'MMMM dd, YYYY hh:mm') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MyDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'MMMM dd, YYYY hh:mm')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MyMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,',')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthDay&lt;/SPAN&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and this is the result:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;IMG __jive_id="21413" class="jive-image" alt="Capture.PNG" src="https://community.qlik.com/legacyfs/online/21413_Capture.PNG" /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 09:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384792#M143748</guid>
      <dc:creator />
      <dc:date>2012-09-06T09:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a date out of a string with odd format</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384793#M143749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide some sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 10:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384793#M143749</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-09-06T10:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a date out of a string with odd format</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384794#M143750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Input is out of a CSV file - here's a snippet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date;Item;Destination;Type;Rate;Duration;Amount;&lt;/P&gt;&lt;P&gt;"March 31, 2012 21:26";+27999999999;South Africa-Cape Town;Call;0.000;00:04;EUR 0.000;&lt;/P&gt;&lt;P&gt;"March 31, 2012 15:03";+27999999999;South Africa-Cape Town;Call;0.000;00:00;EUR 0.000;&lt;/P&gt;&lt;P&gt;"March 31, 2012 09:00";+27999999999;South Africa-Cape Town;Call;0.000;00:03;EUR 0.000;&lt;/P&gt;&lt;P&gt;"March 31, 2012 08:41";+27999999999;South Africa-Cape Town;Call;0.000;00:05;EUR 0.000;&lt;/P&gt;&lt;P&gt;"March 31, 2012 08:30";+27999999999;South Africa-Cape Town;Call;0.000;10:25;EUR 0.000;&lt;/P&gt;&lt;P&gt;"March 31, 2012 08:25";+27999999999;South Africa-Cape Town;Call;0.000;03:12;EUR 0.000;&lt;/P&gt;&lt;P&gt;"March 30, 2012 19:30";+27999999999;South Africa-Cape Town;Call;0.000;17:48;EUR 0.000;&lt;/P&gt;&lt;P&gt;"March 27, 2012 10:47";+27999999999;South Africa-Cape Town;Call;0.000;00:27;EUR 0.000;&lt;/P&gt;&lt;P&gt;"March 20, 2012 19:35";+27999999999;South Africa - Mobile;Call;0.195;09:52;EUR 2.039;&lt;/P&gt;&lt;P&gt;"March 20, 2012 19:30";+27999999999;South Africa - Mobile;Call;0.195;05:26;EUR 1.259;&lt;/P&gt;&lt;P&gt;"March 20, 2012 19:29";+27999999999;South Africa - Mobile;Call;0.195;00:00;EUR 0.000;&lt;/P&gt;&lt;P&gt;"March 19, 2012 13:25";+27999999999;South Africa-Cape Town;Call;0.000;10:54;EUR 0.000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've anonomised the phone numbers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 10:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384794#M143750</guid>
      <dc:creator />
      <dc:date>2012-09-06T10:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a date out of a string with odd format</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384795#M143751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go - hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 10:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384795#M143751</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-09-06T10:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a date out of a string with odd format</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384796#M143752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call the dogs off,&amp;nbsp; the hunt is over!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx Jason - much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 10:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384796#M143752</guid>
      <dc:creator />
      <dc:date>2012-09-06T10:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a date out of a string with odd format</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384797#M143753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pleasure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 10:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384797#M143753</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-09-06T10:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a date out of a string with odd format</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384798#M143754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a few days has gone by, and I've since realised that there is another issue with this.&amp;nbsp; After you replied to my problem,&amp;nbsp; you sent me a qvw that I then continued working on - however,&amp;nbsp; when I try to apply your solution in my own (or another new) qvw,&amp;nbsp; I run into the same problems again - I think the difference is caused by some (by me) unnoticed setting that you and I have different values for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I send you MY qvw,&amp;nbsp; and input, so we're looking at exactly the same thing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 09:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384798#M143754</guid>
      <dc:creator />
      <dc:date>2012-09-13T09:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a date out of a string with odd format</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384799#M143755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - I'll look at it when I get a moment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 09:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-date-out-of-a-string-with-odd-format/m-p/384799#M143755</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-09-13T09:39:52Z</dc:date>
    </item>
  </channel>
</rss>

