<?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: Rechnen mit Datumsfeldern in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rechnen-mit-Datumsfeldern/m-p/2473460#M99889</link>
    <description>&lt;P&gt;HI,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Danke, ich glaube aber, das Feld wird nicht als Datum erkannt, wie kann ich das im Ladescript vorgeben ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Danke&lt;/P&gt;
&lt;P&gt;LG&lt;/P&gt;
&lt;P&gt;Martin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2024 06:48:17 GMT</pubDate>
    <dc:creator>m_dorz</dc:creator>
    <dc:date>2024-07-29T06:48:17Z</dc:date>
    <item>
      <title>Rechnen mit Datumsfeldern</title>
      <link>https://community.qlik.com/t5/App-Development/Rechnen-mit-Datumsfeldern/m-p/2473211#M99857</link>
      <description>&lt;P&gt;Hallo,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ich habe 2 Datumsfelder von denen ich die Differenz haben möchte&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 228pt;" border="0" width="304px" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 114pt;" span="2" width="152" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR style="height: 13.8pt;"&gt;
&lt;TD width="151.6px" height="18" class="xl65" style="height: 13.8pt; width: 114pt;"&gt;Startzeit&lt;/TD&gt;
&lt;TD width="151.6px" class="xl65" style="border-left: none; width: 114pt;"&gt;Fertigzeit&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 13.8pt;"&gt;
&lt;TD width="151.6px" height="18" class="xl66" style="height: 13.8pt; border-top: none;"&gt;01.07.2024 09:36:01&lt;/TD&gt;
&lt;TD width="151.6px" class="xl66" style="border-top: none; border-left: none;"&gt;03.07.2024 12:51:35&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 13.8pt;"&gt;
&lt;TD width="151.6px" height="18" class="xl66" style="height: 13.8pt; border-top: none;"&gt;01.07.2024 14:12:15&lt;/TD&gt;
&lt;TD width="151.6px" class="xl66" style="border-top: none; border-left: none;"&gt;04.07.2024 09:31:14&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 13.8pt;"&gt;
&lt;TD width="151.6px" height="18" class="xl66" style="height: 13.8pt; border-top: none;"&gt;03.07.2024 12:52:41&lt;/TD&gt;
&lt;TD width="151.6px" class="xl66" style="border-top: none; border-left: none;"&gt;03.07.2024 12:54:48&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 13.8pt;"&gt;
&lt;TD width="151.6px" height="18" class="xl66" style="height: 13.8pt; border-top: none;"&gt;03.07.2024 12:56:40&lt;/TD&gt;
&lt;TD width="151.6px" class="xl66" style="border-top: none; border-left: none;"&gt;03.07.2024 12:57:35&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;was muss ich da machen, bzw wie wäre die Formel ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Danke&lt;/P&gt;
&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 11:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rechnen-mit-Datumsfeldern/m-p/2473211#M99857</guid>
      <dc:creator>m_dorz</dc:creator>
      <dc:date>2024-07-26T11:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rechnen mit Datumsfeldern</title>
      <link>https://community.qlik.com/t5/App-Development/Rechnen-mit-Datumsfeldern/m-p/2473226#M99864</link>
      <description>&lt;P&gt;Hallo Martin,&lt;/P&gt;
&lt;P&gt;das ist in Qlik ziemlich simpel, da zu Daten auch immer ein numerischer Wert hinterlegt ist.&lt;/P&gt;
&lt;P&gt;Wenn du also einen dezimalen Wert suchst kannst du "Fertigzeit - Startzeit" rechnen, solltest du es lieber als timestamp haben wollen empfiehlt sich die Interval() Funktion, da kannst du die Rechnung genau so angeben und zusätzlich noch das Ausgabeformat festlegen, wenn du bspw. nur die Minuten benötigst sähe die Formel so aus:&lt;/P&gt;
&lt;P&gt;=Interval(Fertigzeit - Startzeit, 'mm')&lt;/P&gt;
&lt;P&gt;Ich hoffe, ich konnte dir weiterhelfen!&lt;/P&gt;
&lt;P&gt;Lennart&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 12:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rechnen-mit-Datumsfeldern/m-p/2473226#M99864</guid>
      <dc:creator>lennart_mo</dc:creator>
      <dc:date>2024-07-26T12:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rechnen mit Datumsfeldern</title>
      <link>https://community.qlik.com/t5/App-Development/Rechnen-mit-Datumsfeldern/m-p/2473460#M99889</link>
      <description>&lt;P&gt;HI,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Danke, ich glaube aber, das Feld wird nicht als Datum erkannt, wie kann ich das im Ladescript vorgeben ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Danke&lt;/P&gt;
&lt;P&gt;LG&lt;/P&gt;
&lt;P&gt;Martin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 06:48:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rechnen-mit-Datumsfeldern/m-p/2473460#M99889</guid>
      <dc:creator>m_dorz</dc:creator>
      <dc:date>2024-07-29T06:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rechnen mit Datumsfeldern</title>
      <link>https://community.qlik.com/t5/App-Development/Rechnen-mit-Datumsfeldern/m-p/2473471#M99890</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In welchem Format deine Daten geladen werden, kannst du ganz einfach im Datenmodell erkennen. Wenn du da das entsprechende Feld anwählst und die Vorschau einblendest, werden Tags angezeigt, die dir darüber Auskunft geben. In deinem Fall sollten das dann $numeric und $timestamp sein.&lt;/P&gt;
&lt;P&gt;Falls die Tags aber $ascii $text sind brauchst du im Ladescript die Funktion timestamp#(). Hier kannst du innerhalb der Formel das Zeitformat der vorliegenden Daten angeben. Solltest du das noch in ein anderes Format umformen wollen brauchst du zusätzlich die timestamp()-Funktion.&lt;/P&gt;
&lt;P&gt;Eine Erfassung als Zeit könnte bei dir im Script also so aussehen:&lt;/P&gt;
&lt;P&gt;timestamp#(Startzeit, 'DD.MM.YYYY hh:mm:ss') as Startzeit&lt;/P&gt;
&lt;P&gt;LG&lt;/P&gt;
&lt;P&gt;Lennart&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 07:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rechnen-mit-Datumsfeldern/m-p/2473471#M99890</guid>
      <dc:creator>lennart_mo</dc:creator>
      <dc:date>2024-07-29T07:33:36Z</dc:date>
    </item>
  </channel>
</rss>

