<?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: Converting from AM/PM time to 24 hour time in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Converting-from-AM-PM-time-to-24-hour-time/m-p/62485#M4136</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;referring to this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/169351"&gt;Convert 12 Hour to 24 Hour Timestamp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try Manish and Tresesco suggestions&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; font-size: 13px;"&gt;TimeStamp(Timestamp#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ALT_EventDate&lt;/SPAN&gt;,'DD/MM/YYYY hh:mm:ss TT'),'DD/MM/YYYY hh:mm:ss') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ALT_EventDate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; 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-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;SET TimestampFormat='DD-MM-YYYY hh:mm:ss[.fff]';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TimeStamp(Timestamp#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ALT_EventDate&lt;/SPAN&gt;, 'DD/MM/YYYY hh:mm:ss TT')) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ALT_EventDate&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2018 15:48:19 GMT</pubDate>
    <dc:creator>YoussefBelloum</dc:creator>
    <dc:date>2018-06-21T15:48:19Z</dc:date>
    <item>
      <title>Converting from AM/PM time to 24 hour time</title>
      <link>https://community.qlik.com/t5/App-Development/Converting-from-AM-PM-time-to-24-hour-time/m-p/62483#M4134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My date fields are separated and the first step is to combine them.&amp;nbsp; The code below works successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EventDate,&lt;/P&gt;&lt;P&gt;StartTimeHour as ALT_StartTimeHour, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartTimeMinute as ALT_StartTimeMinute,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartTimeAM_PM as ALT_StartTimeAM_PM, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp#(EventDate &amp;amp; ' ' &amp;amp; num(StartTimeHour,'00') &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp; ':' &amp;amp; num(StartTimeMinute,'00') &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp; ' ' &amp;amp; StartTimeAM_PM,'MM-DD-YYYY h:mm TT' ) as ALT_EventDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output is in the AM/PM format, but I need the 24 hour format.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="date2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/205899_date2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In a preceding load I have tried various timestamp and date functions.&amp;nbsp; For example, the code below returns a null value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; timestamp#(ALT_EventDate,'MM-DD-YY h:mm') as ALT_EventDate2,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 15:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Converting-from-AM-PM-time-to-24-hour-time/m-p/62483#M4134</guid>
      <dc:creator>jerryhelms2017</dc:creator>
      <dc:date>2018-06-21T15:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from AM/PM time to 24 hour time</title>
      <link>https://community.qlik.com/t5/App-Development/Converting-from-AM-PM-time-to-24-hour-time/m-p/62484#M4135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try TimeStamp() instead of TimeStamp#()&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; font-size: 13px;"&gt;&lt;STRONG&gt;TimeStamp(ALT_EventDate,'MM-DD-YY h:mm') as ALT_EventDate2,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 15:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Converting-from-AM-PM-time-to-24-hour-time/m-p/62484#M4135</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-21T15:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from AM/PM time to 24 hour time</title>
      <link>https://community.qlik.com/t5/App-Development/Converting-from-AM-PM-time-to-24-hour-time/m-p/62485#M4136</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;referring to this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/169351"&gt;Convert 12 Hour to 24 Hour Timestamp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try Manish and Tresesco suggestions&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; font-size: 13px;"&gt;TimeStamp(Timestamp#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ALT_EventDate&lt;/SPAN&gt;,'DD/MM/YYYY hh:mm:ss TT'),'DD/MM/YYYY hh:mm:ss') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ALT_EventDate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; 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-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;SET TimestampFormat='DD-MM-YYYY hh:mm:ss[.fff]';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TimeStamp(Timestamp#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ALT_EventDate&lt;/SPAN&gt;, 'DD/MM/YYYY hh:mm:ss TT')) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ALT_EventDate&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 15:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Converting-from-AM-PM-time-to-24-hour-time/m-p/62485#M4136</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-06-21T15:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from AM/PM time to 24 hour time</title>
      <link>https://community.qlik.com/t5/App-Development/Converting-from-AM-PM-time-to-24-hour-time/m-p/62486#M4137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the issue was that I was using '-' as a date separator as opposed to '/'.&amp;nbsp; The solution from Youssef works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 16:12:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Converting-from-AM-PM-time-to-24-hour-time/m-p/62486#M4137</guid>
      <dc:creator>jerryhelms2017</dc:creator>
      <dc:date>2018-06-21T16:12:39Z</dc:date>
    </item>
  </channel>
</rss>

