<?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 Date and Time Merge in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-and-Time-Merge/m-p/315633#M116458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you already used Makedate() and Maketime() function to create your field values, creating a Timestamp or DateTime should just be as easy as adding the values for Date and Time. So, to get the gap between second and first Timestamp, you could use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;interval( ([second date]+[second time]) - ([first date]+[first time]) ) as Gap,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table is the table that holds the above fields (could also be a resident table or another load that creates the fields).&lt;/P&gt;&lt;P&gt;interval will format the Gap as TimeStamp, using the standard Timestamp format (or state the format as second parameter to the interval function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Jan 2012 22:18:18 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-01-29T22:18:18Z</dc:date>
    <item>
      <title>Date and Time Merge</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-Time-Merge/m-p/315632#M116457</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;&lt;/P&gt;&lt;P&gt;I have date in number format in one column and I have time in number format in one column. Now i made the date as date format by using the MakeDate function and&amp;nbsp; time field as time by using MakeTime function. Same as I have two more fields called NewDate and NewTime. I have to findout the duration between these two dates. for that I need to make the first date and time columns as single field called datetime.... so that i can findout the time gap between these two date&amp;amp;times...... Any help would be appreciated. Thanks in Advance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first date&amp;nbsp; first time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; second date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; second time&lt;/P&gt;&lt;P&gt;1/1/2012&amp;nbsp; 9:40:00am&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/2/2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9:10:00am&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jan 2012 19:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-Time-Merge/m-p/315632#M116457</guid>
      <dc:creator />
      <dc:date>2012-01-29T19:23:21Z</dc:date>
    </item>
    <item>
      <title>Date and Time Merge</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-Time-Merge/m-p/315633#M116458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you already used Makedate() and Maketime() function to create your field values, creating a Timestamp or DateTime should just be as easy as adding the values for Date and Time. So, to get the gap between second and first Timestamp, you could use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;interval( ([second date]+[second time]) - ([first date]+[first time]) ) as Gap,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table is the table that holds the above fields (could also be a resident table or another load that creates the fields).&lt;/P&gt;&lt;P&gt;interval will format the Gap as TimeStamp, using the standard Timestamp format (or state the format as second parameter to the interval function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jan 2012 22:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-Time-Merge/m-p/315633#M116458</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-29T22:18:18Z</dc:date>
    </item>
    <item>
      <title>Date and Time Merge</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-Time-Merge/m-p/315634#M116459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Awesome! Great ..... This helps a lot..... It is working ...... I really appreciate your help.........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 00:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-Time-Merge/m-p/315634#M116459</guid>
      <dc:creator />
      <dc:date>2012-01-30T00:14:01Z</dc:date>
    </item>
  </channel>
</rss>

