<?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: Seperate date&amp;time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487606#M182139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have applied it on my report and yes your way is working on it..I just wanna know the systematic of the syntax which is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;mid(@2,9,2)&lt;/SPAN&gt;...Could you explain it briefly how it works? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing, how can I change the time format from HHMM to HH:MM ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replied me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Dec 2013 08:36:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-16T08:36:45Z</dc:date>
    <item>
      <title>Seperate date&amp;time</title>
      <link>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487603#M182136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really need your help as soon as possible..I have a time field and I would like to divide it into date and hour fields...I would like to do it on qlikview and have no idea how to do it...If you give me a hand I really would be appreciated on you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the file...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all replied my question! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 07:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487603#M182136</guid>
      <dc:creator />
      <dc:date>2013-12-16T07:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Seperate date&amp;time</title>
      <link>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487604#M182137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Atacan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Date format is fixed, so you can use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left(@2,8) as Date,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g - if your date is 201312130802 &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;answer - 20131213&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hour - if you want only hours&lt;/P&gt;&lt;P&gt;mid(@2,9,2) as hour&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg - if your date is 201312130802 &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;answer - 08&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hour - if you want hour and minute&lt;/P&gt;&lt;P&gt;right(@2,4) as time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg - if your date is 201312130802 &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;answer - 0802&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Suresh Rawat&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 08:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487604#M182137</guid>
      <dc:creator>suresh_rawat</dc:creator>
      <dc:date>2013-12-16T08:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Seperate date&amp;time</title>
      <link>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487605#M182138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Atacan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this in your load statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date ( floor ( [DateTimeField] ) )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as DateField ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time ( ceil&amp;nbsp; ( [DateTimeField] ) )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as TimeField ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 08:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487605#M182138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-16T08:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Seperate date&amp;time</title>
      <link>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487606#M182139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have applied it on my report and yes your way is working on it..I just wanna know the systematic of the syntax which is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;mid(@2,9,2)&lt;/SPAN&gt;...Could you explain it briefly how it works? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing, how can I change the time format from HHMM to HH:MM ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replied me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 08:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487606#M182139</guid>
      <dc:creator />
      <dc:date>2013-12-16T08:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Seperate date&amp;time</title>
      <link>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487607#M182140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not work on it..&lt;IMG alt="BillReply.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/50486_BillReply.jpg" style="width: 620px; height: 272px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 08:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487607#M182140</guid>
      <dc:creator />
      <dc:date>2013-12-16T08:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Seperate date&amp;time</title>
      <link>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487608#M182141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Atacan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad that it works for you.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; text-decoration: underline;"&gt;&lt;STRONG&gt;Ist Query:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; Mid function working - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: - As per you data - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;201312130802 - mid(@2,9,2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@2 - your Column which consist of Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9 - It is the position that start from the extreme left which is 2( Ist position)&amp;nbsp; in your data till the 9th position(from left to right) which is &lt;STRONG&gt;0 &lt;/STRONG&gt;(9th position start from the extreme left).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - Means it returns the count of value(two - 08 ) which is defined from the position which is previously mentioned(0 - 9th Position).&lt;/P&gt;&lt;P&gt;eg - if it is 3 then it will return - 080&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;IInd Query:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;201312130802&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= mid(@2,9,2) &amp;amp; ':' &amp;amp; right(@2,2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answer - 08:02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you will understand, if not, you can again raise a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Suresh Rawat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 09:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487608#M182141</guid>
      <dc:creator>suresh_rawat</dc:creator>
      <dc:date>2013-12-16T09:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Seperate date&amp;time</title>
      <link>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487609#M182142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Surash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure that many people benefit from your clear statement with your deep knowledge...And you are really helpful guy for who have started qlikview recently..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atacan..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 09:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seperate-date-time/m-p/487609#M182142</guid>
      <dc:creator />
      <dc:date>2013-12-16T09:25:18Z</dc:date>
    </item>
  </channel>
</rss>

