<?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: Time to Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692653#M250570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;=Date(Floor(Date#('15-01-2014 12:00:00','DD-MM-YYYY hh:mm:ss')),'M/D/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Sep 2014 17:06:06 GMT</pubDate>
    <dc:creator>nagaiank</dc:creator>
    <dc:date>2014-09-14T17:06:06Z</dc:date>
    <item>
      <title>Time to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692652#M250569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to convert 15-01-2014&amp;nbsp; 12:00:00 to 1/15/2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 17:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692652#M250569</guid>
      <dc:creator>balasundaram</dc:creator>
      <dc:date>2014-09-14T17:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Time to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692653#M250570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;=Date(Floor(Date#('15-01-2014 12:00:00','DD-MM-YYYY hh:mm:ss')),'M/D/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 17:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692653#M250570</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2014-09-14T17:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Time to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692654#M250571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=date(date#('15-01-2014&amp;nbsp; 12:00:00', 'DD-MM-YYYY&amp;nbsp; hh:mm:ss'),'M/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT you can read this for detailed help&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-2811"&gt;Primer for QlikView Date fields&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 17:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692654#M250571</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-14T17:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Time to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692655#M250572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=date(date#('15-01-2014 12:12:2014','DD-MM-YYYY hh:mm:ss'))&lt;/P&gt;&lt;P&gt;this will do. if u convert it to number u will see the corresponding time fraction. with this u can change it back to timestamp at any point..&lt;/P&gt;&lt;P&gt;-Sundar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 17:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692655#M250572</guid>
      <dc:creator>sundarakumar</dc:creator>
      <dc:date>2014-09-14T17:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Time to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692656#M250573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;date(date#('15-01-2014 12:00:00','DD-MM-YYYY hh:mm:ss'),'MM/DD/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 17:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692656#M250573</guid>
      <dc:creator />
      <dc:date>2014-09-14T17:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Time to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692657#M250574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;supposed your timestamp values are stored in a field 'yourField',then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yourField is type text:&lt;/P&gt;&lt;P&gt;date(timestamp#(yourField, 'DD-MM-YYYY hh:mm:ss'), 'M/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yourField is type Timestamp:&lt;/P&gt;&lt;P&gt;date(yourField, 'M/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both methods leave the time part of yourField untouched, i.e. whenever you use the result as a dimension, you probably get multiple occurrences of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;1/15/2014&lt;/SPAN&gt; (each with a different, unvisible time value).&lt;/P&gt;&lt;P&gt;So if you intend to get numerically identical values per date (i.e. dates not timestamps), you have to strip the time part like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yourField is type text:&lt;/P&gt;&lt;P&gt;date(floor(timestamp#(yourField, 'DD-MM-YYYY hh:mm:ss')), 'M/DD/YYYY')&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;date(daystart(timestamp#(yourField, 'DD-MM-YYYY hh:mm:ss')), 'M/DD/YYYY')&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;date(dayname(timestamp#(yourField, 'DD-MM-YYYY hh:mm:ss')), 'M/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yourField is type Timestamp:&lt;/P&gt;&lt;P&gt;date(floor(yourField), 'M/DD/YYYY')&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;date(daystart(yourField), 'M/DD/YYYY')&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;date(dayname(yourField), 'M/DD/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;hope this helps&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;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;regards&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;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;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 20:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-to-Date/m-p/692657#M250574</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-14T20:05:43Z</dc:date>
    </item>
  </channel>
</rss>

