<?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 Another Date Calculation Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Another-Date-Calculation-Question/m-p/357740#M705018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan, however it did not work for me.&amp;nbsp; I have given up and converted by source file to an XLS and the timestamp# function works for me.&amp;nbsp; I think the issue with my CSV was that is did not have the AM/PM included. This is simply a guess...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2012 17:57:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-18T17:57:04Z</dc:date>
    <item>
      <title>Another Date Calculation Question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-Date-Calculation-Question/m-p/357736#M705014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to QlikView and am using QlikView for Windows version 11.&amp;nbsp; I am having difficulting subtracting 1 date/time from a second date/time.&amp;nbsp; I am using a CSV file as my datasource.&amp;nbsp; Based on my abilty to concatenate the date/times, I believe the date/times are recognized as strings by Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the timestamp#, date#, date functions but always get '-' for my answer.&amp;nbsp; I have perused the QlikView Reference Manual and the QlikView Time and Date primer documents found during my google searches.&amp;nbsp; I have tried converting the string into an actual date/time but have failed miserably.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples of my date/time data are:&amp;nbsp; 3/20/2012 11:15&amp;nbsp; and 3/16/2012 8:47&amp;nbsp; (I have also uploaded my source file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following formats to no avail:&lt;/P&gt;&lt;P&gt;(DATE([Logon time],'M/D/YYYY h:mm')) as LogonTimeDate&lt;/P&gt;&lt;P&gt;(DATE([Logon time],'M/D/YYYY hh:mm')) as LogonTimeDate&lt;/P&gt;&lt;P&gt;(DATE([Logon time],'M/D/YYYY hh:mm:ss')) as LogonTimeDate&lt;/P&gt;&lt;P&gt;(DATE([Logon time],'M/D/YYYY h:mm:ss')) as LogonTimeDate&lt;/P&gt;&lt;P&gt;(DATE([Logon time],'M-D-YYYY h:mm')) as LogonTimeDate&lt;/P&gt;&lt;P&gt;(DATE([Logon time],'M-D-YYYY hh:mm')) as LogonTimeDate&lt;/P&gt;&lt;P&gt;(DATE([Logon time],'M-D-YYYY hh:mm:ss')) as LogonTimeDate&lt;/P&gt;&lt;P&gt;(DATE([Logon time],'M-D-YYYY h:mm:ss')) as LogonTimeDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance would be mucho appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 13:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-Date-Calculation-Question/m-p/357736#M705014</guid>
      <dc:creator />
      <dc:date>2012-04-18T13:46:35Z</dc:date>
    </item>
    <item>
      <title>Another Date Calculation Question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-Date-Calculation-Question/m-p/357737#M705015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this and let me now what is the result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;DATE(floor([Logon time]),'M/D/YYYY h:mm') &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;as LogonTimeDate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;Chema&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 15:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-Date-Calculation-Question/m-p/357737#M705015</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-04-18T15:37:01Z</dc:date>
    </item>
    <item>
      <title>Another Date Calculation Question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-Date-Calculation-Question/m-p/357738#M705016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had not tried the floor function.&amp;nbsp; Unfortunately, I still get the same result the dash.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 15:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-Date-Calculation-Question/m-p/357738#M705016</guid>
      <dc:creator />
      <dc:date>2012-04-18T15:49:07Z</dc:date>
    </item>
    <item>
      <title>Another Date Calculation Question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-Date-Calculation-Question/m-p/357739#M705017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(Date#('3/20/2012 11:15', 'M/DD/YYYY HH:mm'), 'MM/DD/YYYY HH:mm:ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&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, 18 Apr 2012 15:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-Date-Calculation-Question/m-p/357739#M705017</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-04-18T15:57:48Z</dc:date>
    </item>
    <item>
      <title>Another Date Calculation Question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-Date-Calculation-Question/m-p/357740#M705018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan, however it did not work for me.&amp;nbsp; I have given up and converted by source file to an XLS and the timestamp# function works for me.&amp;nbsp; I think the issue with my CSV was that is did not have the AM/PM included. This is simply a guess...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 17:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-Date-Calculation-Question/m-p/357740#M705018</guid>
      <dc:creator />
      <dc:date>2012-04-18T17:57:04Z</dc:date>
    </item>
  </channel>
</rss>

