<?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: Different format code in Timestamp() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-format-code-in-Timestamp/m-p/1097279#M364423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-size: 12pt;"&gt;try like this&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;EM&gt;alt(timestamp(Timestamp#(DATE,'MM/DD/YYYYhh:mm:ss'),'MM/DD/YYYY hh:mm:ss'),&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12pt;"&gt;timestamp(Timestamp#(DATE,'MM/DD/YYYY hh:mm:ss'),'MM/DD/YYYY hh:mm:ss')) as Time&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Mar 2016 10:36:27 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2016-03-06T10:36:27Z</dc:date>
    <item>
      <title>Different format code in Timestamp()</title>
      <link>https://community.qlik.com/t5/QlikView/Different-format-code-in-Timestamp/m-p/1097277#M364421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the below data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input:&lt;/P&gt;&lt;P&gt;LOAD * Inline &lt;/P&gt;&lt;P&gt;[ &lt;/P&gt;&lt;P&gt;InteractionID,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedDate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp; ResolvedDate&lt;/P&gt;&lt;P&gt;2065789,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/20/201601:22:15 PM&amp;nbsp; ,&amp;nbsp; 03/23/201609:15:07 AM&lt;/P&gt;&lt;P&gt;2065790,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/15/2016 10:40:10 AM&amp;nbsp; ,&amp;nbsp; 03/15/2016 10:15:04 PM&lt;/P&gt;&lt;P&gt;2065791,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/18/2016 03:20:20 PM&amp;nbsp; ,&amp;nbsp; 03/22/2016 11:10:10 AM&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;However, As you can see the first created date is in different format and rest of the dates is in different format code ...like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;'MM/DD/YYYY hh:mm:ss TT'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;'MM/DD/YYYYhh:mm:ss TT'&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;So my concern is how i can make one timestamp by combining diffrent format code &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;As of now i am writing like this and i am getting the result as expected ...but i want to combine them in One field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Timestamp(Timestamp#(CreatedDate,'MM/DD/YYYY hh:mm:ss TT'),'MM/DD/YYYY hh:mm:ss') AS DateCreate,&lt;/P&gt;&lt;P&gt;Timestamp(Timestamp#(CreatedDate,'MM/DD/YYYYhh:mm:ss TT'),'MM/DD/YYYY hh:mm:ss') AS DateCreateeeee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help how i can get around this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;‌ , &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌&amp;nbsp; please comment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarfaraz&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2016 10:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-format-code-in-Timestamp/m-p/1097277#M364421</guid>
      <dc:creator>sarfaraz_sheikh</dc:creator>
      <dc:date>2016-03-06T10:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Different format code in Timestamp()</title>
      <link>https://community.qlik.com/t5/QlikView/Different-format-code-in-Timestamp/m-p/1097278#M364422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Alt():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Timestamp(Alt(&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp#(CreatedDate,'MM/DD/YYYY hh:mm:ss TT'),'MM/DD/YYYY hh:mm:ss',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp#(CreatedDate,'MM/DD/YYYYhh:mm:ss TT'),'MM/DD/YYYY hh:mm:ss',&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )) AS DateCreate,&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2016 10:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-format-code-in-Timestamp/m-p/1097278#M364422</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-06T10:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Different format code in Timestamp()</title>
      <link>https://community.qlik.com/t5/QlikView/Different-format-code-in-Timestamp/m-p/1097279#M364423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-size: 12pt;"&gt;try like this&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;EM&gt;alt(timestamp(Timestamp#(DATE,'MM/DD/YYYYhh:mm:ss'),'MM/DD/YYYY hh:mm:ss'),&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12pt;"&gt;timestamp(Timestamp#(DATE,'MM/DD/YYYY hh:mm:ss'),'MM/DD/YYYY hh:mm:ss')) as Time&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2016 10:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-format-code-in-Timestamp/m-p/1097279#M364423</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-06T10:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Different format code in Timestamp()</title>
      <link>https://community.qlik.com/t5/QlikView/Different-format-code-in-Timestamp/m-p/1097280#M364424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan it is working fine as expected.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However , One more query to ask you i want to calculate the network hours between CreatedDate and ResolvedDate ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am familier with NetworkDays() of Qlikview and it is giving me the result according to days but i want it on hourly basis..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible if yes then please help me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarfarax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2016 10:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-format-code-in-Timestamp/m-p/1097280#M364424</guid>
      <dc:creator>sarfaraz_sheikh</dc:creator>
      <dc:date>2016-03-06T10:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Different format code in Timestamp()</title>
      <link>https://community.qlik.com/t5/QlikView/Different-format-code-in-Timestamp/m-p/1097281#M364425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please mark this thread as closed and open a new one with the new question. I will happily help you there if I can.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2016 10:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-format-code-in-Timestamp/m-p/1097281#M364425</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-06T10:39:24Z</dc:date>
    </item>
  </channel>
</rss>

