<?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: Getting a Date &amp; Time Value from Commandline in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-a-Date-Time-Value-from-Commandline/m-p/381603#M142369</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need the # versions of the functions to read the values.&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: #ffffff;"&gt;let schmat_tmp = timestamp(date&lt;STRONG&gt;#&lt;/STRONG&gt;('$(schmat_datum_tmp)') + time&lt;STRONG&gt;#&lt;/STRONG&gt;('$(schmat_zeit_tmp)','hh:mm')) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2012 15:44:32 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2012-08-28T15:44:32Z</dc:date>
    <item>
      <title>Getting a Date &amp; Time Value from Commandline</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-Date-Time-Value-from-Commandline/m-p/381601#M142367</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 the following problem and any advise would be welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am forwarding two variable via batch:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;qv.exe /r /vschmat_datum_tmp=%date% /vschmat_zeit_tmp=%time% my.qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These variables are shown in an input box of my qvw after execution&amp;nbsp; of the batch thus transmission is working. &lt;/P&gt;&lt;P&gt;schmat_datum_tmp 28.08.2012&lt;/P&gt;&lt;P&gt;schmat_zeit_tmp 14:48:55,85&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the loadscript I wanted to combine these to variables to a timestamp like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let schmat_tmp=timestamp(date($(schmat_datum_tmp)) + time($schmat_zeit_tmp,'hh:mm')) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It always runs into an error message during script execution. I thought the time ms might be the cause thus I tried the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let schmat_tmp=date($(schmat_datum_tmp));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this causes the same Error again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what is wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Schmat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 14:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-Date-Time-Value-from-Commandline/m-p/381601#M142367</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T14:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a Date &amp; Time Value from Commandline</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-Date-Time-Value-from-Commandline/m-p/381602#M142368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe if you try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let schmat_tmp = timestamp(date('$(schmat_datum_tmp)') + time('$(schmat_zeit_tmp)','hh:mm')) ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 15:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-Date-Time-Value-from-Commandline/m-p/381602#M142368</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-08-28T15:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a Date &amp; Time Value from Commandline</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-Date-Time-Value-from-Commandline/m-p/381603#M142369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need the # versions of the functions to read the values.&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: #ffffff;"&gt;let schmat_tmp = timestamp(date&lt;STRONG&gt;#&lt;/STRONG&gt;('$(schmat_datum_tmp)') + time&lt;STRONG&gt;#&lt;/STRONG&gt;('$(schmat_zeit_tmp)','hh:mm')) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 15:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-Date-Time-Value-from-Commandline/m-p/381603#M142369</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-08-28T15:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a Date &amp; Time Value from Commandline</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-Date-Time-Value-from-Commandline/m-p/381604#M142370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the following Code:&lt;/P&gt;&lt;P&gt;let schmat_tmp = timestamp(date('$(schmat_datum_tmp)')+ time(left('$(schmat_zeit_tmp)',5)));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 09:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-Date-Time-Value-from-Commandline/m-p/381604#M142370</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-29T09:50:17Z</dc:date>
    </item>
  </channel>
</rss>

