<?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 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043154#M16267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk dis&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/984356"&gt;Change from DATETIME to DATE&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Feb 2016 09:54:36 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2016-02-28T09:54:36Z</dc:date>
    <item>
      <title>Timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043153#M16266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;how to convert time stamp into date format(e.g.: 2/22/2016&amp;nbsp; 12:00:00 AM) this is the date and time i want date as separate and time as separate ... can you&amp;nbsp; please&amp;nbsp; check it i was give like that but i didn't get the result &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; date(date#( OrderDate, 'dd/mm/yyyy hh:mm:ss'),'DD-MMM-YYYY')&amp;nbsp; as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; time(Time#( OrderDate, 'dd/mm/yyyy hh:mm:ss'),'hh:mm') as time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Sai Madhu&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/202070"&gt;Reddys310&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/43671"&gt;Ogster1974&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/77808"&gt;mto&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-users/189987"&gt;Naveen06&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 09:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043153#M16266</guid>
      <dc:creator />
      <dc:date>2016-02-28T09:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043154#M16267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk dis&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/984356"&gt;Change from DATETIME to DATE&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 09:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043154#M16267</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-28T09:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043155#M16268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still i didn't get it can u give any example&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 10:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043155#M16268</guid>
      <dc:creator />
      <dc:date>2016-02-28T10:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043156#M16269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a script sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OrderDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'M/D/YYYY hh:mm:ss TT')),'DD-MM-YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Frac&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OrderDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'M/D/YYYY hh:mm:ss TT')),'hh:mm') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; OrderDate&lt;BR /&gt; 2/22/2016 12:00:00 AM&lt;BR /&gt; 2/28/2016 01:15:45 PM&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use the correct format code for the interpretation function Timestamp#() or Date#(), note that 'mm' denotes minutes, not month. See the help for a complete overview of the format codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use Floor() resp. Frac() to only retrieve the integer part of your timestamp value for date resp. decimal places for time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a formatting function Date() resp. Time() to format as you like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 11:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043156#M16269</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-28T11:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043157#M16270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;In addition to what Stefan mentioned here you can also set TimeStamp, Date, Time Formats up top so that you don't have to use TimeStamp#, Date#, Time# again and again. Something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;SET TimeFormat='hh:mm';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;SET DateFormat='DD-MMM-YYYY';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;SET TimestampFormat='M/D/YYYY h:mm:ss TT';&lt;/STRONG&gt; //Match this with the dates you have right now and make sure to use upper case M for Month (Seems your timestamp may have 2-3 spaces between the date and time so you might have to fix this accordingly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;Once you have done this, you can simply do this using Stefan's example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="color: #ff0000;"&gt;LOAD *,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;Date(Floor(OrderDate)) as Date,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Frac(OrderDate)) as Time;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;OrderDate&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;2/22/2016 12:00:00 AM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;2/28/2016 01:15:45 PM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in case you have multiple Timestamps than using the TimeStamp# would make sense. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 12:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043157#M16270</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-28T12:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043158#M16271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sai Madhu, just remember that there are three steps involved:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Value interpretation, explicitely or automatic&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2830"&gt;Data Types in QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3186"&gt;Automatic Number Interpretation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4002"&gt;The Date Function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Transformations&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2802"&gt;The Master Calendar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3206"&gt;The Master Time Table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;[master dimension tables shown here as examples for transformations, but also have a look at the general concept]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Value formatting&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4002"&gt;The Date Function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2865"&gt;On Format Codes for Numbers and Dates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 14:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043158#M16271</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-28T14:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043159#M16272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, adding an other point here:&lt;/P&gt;&lt;P&gt;With the latest Data manager, you can make use of the date field conversion to change a field to a date field. This will automatically generate a master calendar for you. A very handy addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sangram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 10:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043159#M16272</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2016-02-29T10:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043160#M16273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi reddy&lt;/P&gt;&lt;P&gt;I got it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 10:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timestamp/m-p/1043160#M16273</guid>
      <dc:creator />
      <dc:date>2016-02-29T10:33:16Z</dc:date>
    </item>
  </channel>
</rss>

