<?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: Show date time in two separate columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094200#M363577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are three steps involved:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Interprete your timestamp, so QV read it in as dual value&lt;/P&gt;&lt;P&gt;2) Transform your value, e.g. split into date (integer part of the underlying numeric value) and time (fractional part)&lt;/P&gt;&lt;P&gt;3) Format values as needed&lt;/P&gt;&lt;P&gt;&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/2622"&gt;Get the Dates Right&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;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeStampField,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp#(TimeStampField,'DD/MM/YYYY hh:mm:ss TT') as InterpretedTimestamp,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor(Timestamp#(TimeStampField,'DD/MM/YYYY hh:mm:ss TT')),'DD/MM/YYYY') as Date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Frac(Timestamp#(TimeStampField,'DD/MM/YYYY hh:mm:ss TT')),'hh:mm:ss TT') as Time,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;edit: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Instead of explicitely interpreting your values,&amp;nbsp; you can also use and set the default format codes in the script accordingly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2016 18:57:01 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-03-04T18:57:01Z</dc:date>
    <item>
      <title>Show date time in two separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094199#M363576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-style: inherit; font-size: 26px; font-family: inherit;"&gt;&lt;/H1&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can any one please help me.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;I have one date filed in the format of '23/08/2016 06:55:60 PM' I want to display this Date in two separate columns i.e Date contains 23/08/2016 in one column and &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Time contains 06:55:60 PM in another column in script.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 13:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094199#M363576</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2016-03-04T13:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Show date time in two separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094200#M363577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are three steps involved:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Interprete your timestamp, so QV read it in as dual value&lt;/P&gt;&lt;P&gt;2) Transform your value, e.g. split into date (integer part of the underlying numeric value) and time (fractional part)&lt;/P&gt;&lt;P&gt;3) Format values as needed&lt;/P&gt;&lt;P&gt;&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/2622"&gt;Get the Dates Right&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;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeStampField,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp#(TimeStampField,'DD/MM/YYYY hh:mm:ss TT') as InterpretedTimestamp,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor(Timestamp#(TimeStampField,'DD/MM/YYYY hh:mm:ss TT')),'DD/MM/YYYY') as Date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Frac(Timestamp#(TimeStampField,'DD/MM/YYYY hh:mm:ss TT')),'hh:mm:ss TT') as Time,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;edit: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Instead of explicitely interpreting your values,&amp;nbsp; you can also use and set the default format codes in the script accordingly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 18:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094200#M363577</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-04T18:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Show date time in two separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094201#M363578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and these, copied from QlikView help&lt;/P&gt;&lt;P&gt;are the format code you can use to interpret and format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;&lt;EM&gt;Dates&lt;/EM&gt;&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt; To describe the day, use the symbol "D" for each digit.&amp;nbsp; &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt; To describe the month number, use the symbol "M" or "MM" for one or two digits. "MMM" denotes short month name in letters as defined by the operating system or by the override system variable MonthNames in the script. "MMMM" denotes long month name in letters as defined by the operating system or by the override system variable LongMonthNames in the script.&amp;nbsp; &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt; To describe the year, use the symbol "Y" for each digit.&amp;nbsp; &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt; To describe the weekday, use the symbol "W". One W will return the number of the day (e.g. 0 for Monday) as a single digit. "WW" will return the number with two digits (e.g. 02 for Wednesday). "WWW" will show the short version of the weekday name (e.g. Mon) as defined by the operating system or by the override system variable DayName in the script. "WWWW" will show the long version of the weekday name (e.g. Monday) as defined by the operating system or by the override system variable LongDayName in the script &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt; Arbitrary separators can be used. &lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;&lt;EM&gt;Times&lt;/EM&gt;&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt; To describe the hours, use the symbol "h" for each digit.&amp;nbsp; &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt; To describe the minutes, use the symbol "m" for each digit.&amp;nbsp; &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt; To describe the seconds, use the symbol "s" for each digit.&amp;nbsp; &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt; To describe the fractions of a second, use the symbol "f" for each digit.&amp;nbsp; &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt; To describe the time in AM/PM format, use the symbol "tt" after the time.&amp;nbsp; &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt; Arbitrary separators can be used. &lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;&lt;EM&gt;Time Stamps&lt;/EM&gt;&lt;/H2&gt;&lt;P&gt;&lt;EM&gt;The same notation as that of dates and times above is used. &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 19:00:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094201#M363578</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-03-04T19:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Show date time in two separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094202#M363579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there's also another function to extract the date part from a timestamp:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DayName(TimestampField) as DateField&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 23:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094202#M363579</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-03-04T23:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Show date time in two separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094203#M363580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you so much.It's Working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2016 09:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094203#M363580</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2016-03-05T09:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Show date time in two separate columns</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094204#M363581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your question is now answered, please flag the Correct Answer and possible Helpful Answers.&lt;/P&gt;&lt;P&gt;If not, please make clear what part of this question still needs answering &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2016 10:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-time-in-two-separate-columns/m-p/1094204#M363581</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-03-05T10:12:19Z</dc:date>
    </item>
  </channel>
</rss>

