<?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: Sorting of AM /PM tiem format in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sorting-of-AM-PM-tiem-format/m-p/1775497#M60102</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/103918"&gt;@Aspiring_Developer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try with Dual function like below&lt;/P&gt;&lt;P&gt;LOAD Dual(CDate, Timestamp(Timestamp#(CDate, 'DD/MM/YYYY hh tt'), 'DD/MM/YYYY HH')) as CDate Inline&lt;BR /&gt;[&lt;BR /&gt;CDate&lt;BR /&gt;12/02/2020 09 PM&lt;BR /&gt;12/02/2020 10 PM&lt;BR /&gt;12/02/2020 11 PM&lt;BR /&gt;12/03/2020 12 AM&lt;BR /&gt;12/03/2020 01 AM&lt;BR /&gt;12/03/2020 03 AM&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;You can replace CDate with ur date field and instead of inline, u can use directly from SQL&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;Dual(CDate, Timestamp(Timestamp#(CDate, 'DD/MM/YYYY hh tt'), 'DD/MM/YYYY HH')) as CDate&lt;/P&gt;&lt;P&gt;from ursource;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2021 09:40:00 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2021-01-19T09:40:00Z</dc:date>
    <item>
      <title>Sorting of AM /PM tiem format</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-of-AM-PM-tiem-format/m-p/1775488#M60101</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can anyone please help me with below&lt;/P&gt;&lt;P&gt;I have field "Tstamp" like below:-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1611045685336.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/47313i8C93E7AD4E1D9A69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_0-1611045685336.png" alt="Aspiring_Developer_0-1611045685336.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to achieve sorting .&amp;nbsp;&lt;/P&gt;&lt;P&gt;after 11 PM ,it should takr 12/03/2020 12AM followed by 12/03/2020 01AM.&lt;/P&gt;&lt;P&gt;This field is coming from database directly.&lt;/P&gt;&lt;P&gt;Can anyone please help ??&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 08:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-of-AM-PM-tiem-format/m-p/1775488#M60101</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2021-01-19T08:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting of AM /PM tiem format</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-of-AM-PM-tiem-format/m-p/1775497#M60102</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/103918"&gt;@Aspiring_Developer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try with Dual function like below&lt;/P&gt;&lt;P&gt;LOAD Dual(CDate, Timestamp(Timestamp#(CDate, 'DD/MM/YYYY hh tt'), 'DD/MM/YYYY HH')) as CDate Inline&lt;BR /&gt;[&lt;BR /&gt;CDate&lt;BR /&gt;12/02/2020 09 PM&lt;BR /&gt;12/02/2020 10 PM&lt;BR /&gt;12/02/2020 11 PM&lt;BR /&gt;12/03/2020 12 AM&lt;BR /&gt;12/03/2020 01 AM&lt;BR /&gt;12/03/2020 03 AM&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;You can replace CDate with ur date field and instead of inline, u can use directly from SQL&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;Dual(CDate, Timestamp(Timestamp#(CDate, 'DD/MM/YYYY hh tt'), 'DD/MM/YYYY HH')) as CDate&lt;/P&gt;&lt;P&gt;from ursource;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 09:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-of-AM-PM-tiem-format/m-p/1775497#M60102</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-01-19T09:40:00Z</dc:date>
    </item>
  </channel>
</rss>

