<?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: Timestamp# issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Timestamp-issue/m-p/500213#M186915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;let gdate = num#(Timestamp#(&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Timestamp('41541.7729050926')&lt;/EM&gt;));&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Oct 2013 06:11:12 GMT</pubDate>
    <dc:creator>preminqlik</dc:creator>
    <dc:date>2013-10-02T06:11:12Z</dc:date>
    <item>
      <title>Timestamp# issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-issue/m-p/500210#M186912</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;I have a simple testing code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let cdate = Timestamp('41541.7729050926');&lt;/P&gt;&lt;P&gt;// cdate is 2013-09-24 18:32:59&lt;/P&gt;&lt;P&gt;let gdate = Timestamp#(cdate);&lt;/P&gt;&lt;P&gt;I am expecting gdate to be '41541.7729050926' but it just same as cdate i.e. 2013-09-24 18:32:59.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what wrong am i doing here?&lt;/P&gt;&lt;P&gt;Saurabh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 23:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-issue/m-p/500210#M186912</guid>
      <dc:creator />
      <dc:date>2013-10-01T23:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp# issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-issue/m-p/500211#M186913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, you need to use a number as argument to Timestamp(), not a string,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;let cdate = Timestamp('41541.7729050926');&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;won't assign anything to cdate, use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;let cdate = Timestamp( 41541.7729050926 );&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, Timestamp#() is interpreting a string and setting the numeric representation, but it will return the text representation in this context (and the variable will only hold the text representation, no dual value). &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;You'll need to use num() function to get the numeric representation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;let gdate = num(Timestamp#(cdate));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look also into &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-3102"&gt;http://community.qlik.com/docs/DOC-3102&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 23:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-issue/m-p/500211#M186913</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-01T23:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp# issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-issue/m-p/500212#M186914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;P&gt;It works...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 23:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-issue/m-p/500212#M186914</guid>
      <dc:creator />
      <dc:date>2013-10-01T23:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp# issue</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-issue/m-p/500213#M186915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;let gdate = num#(Timestamp#(&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Timestamp('41541.7729050926')&lt;/EM&gt;));&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 06:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-issue/m-p/500213#M186915</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2013-10-02T06:11:12Z</dc:date>
    </item>
  </channel>
</rss>

