<?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: Help Required for date format conversion in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-Required-for-date-format-conversion/m-p/2526435#M107212</link>
    <description>&lt;P&gt;tmp:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;RawTimestamp&lt;BR /&gt;20250731T233347.455+1000&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;Final:&lt;BR /&gt;LOAD RawTimestamp,&lt;BR /&gt;timestamp(Timestamp(Timestamp#(Replace(Left(RawTimestamp,15),'T',' '), 'YYYYMMDD hhmmss')),'YYYY-MM-DD hh:mm:ss') AS FinalTimestamp&lt;BR /&gt;RESIDENT tmp;&lt;/P&gt;&lt;P&gt;DROP TABLE tmp;&lt;/P&gt;&lt;P&gt;// FinalTimestamp = 2025-07-31 23:33:47&lt;/P&gt;</description>
    <pubDate>Wed, 06 Aug 2025 14:10:48 GMT</pubDate>
    <dc:creator>antose</dc:creator>
    <dc:date>2025-08-06T14:10:48Z</dc:date>
    <item>
      <title>Help Required for date format conversion</title>
      <link>https://community.qlik.com/t5/App-Development/Help-Required-for-date-format-conversion/m-p/2525975#M107138</link>
      <description>&lt;P&gt;Could you please help me with converting a date from&lt;/P&gt;&lt;P&gt;Format 20250731T233347.455+1000&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;Format 2024-11-20 19:38:02&lt;BR /&gt;If you know the steps or QV logic to achieve this, kindly let me know.&lt;BR /&gt;&lt;BR /&gt;Appreciate your help in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 11:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-Required-for-date-format-conversion/m-p/2525975#M107138</guid>
      <dc:creator>ABP2021</dc:creator>
      <dc:date>2025-08-01T11:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help Required for date format conversion</title>
      <link>https://community.qlik.com/t5/App-Development/Help-Required-for-date-format-conversion/m-p/2525989#M107139</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm not familiar with the first format to the fullest, but it looks like it starts from the date YYYYMMDD, then the letter T, and then the time hhmmss. After that, I can only presume that 455 represent milliseconds, and I'm not sure what +1000 stands for.&lt;/P&gt;&lt;P&gt;So, assuming that you only need your timestamps to be stored up to the second level, I'd do something like this:&lt;BR /&gt;&lt;BR /&gt;date(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;date#( left(MyDate, 15)&amp;nbsp; &amp;nbsp; // only extract the first 15 symbols&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; , 'YYYYMMDDThhmmss')&amp;nbsp; &amp;nbsp;// this is the source date/time format&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;, 'YYYY-MM-DD hhmmss)&amp;nbsp; &amp;nbsp;// this is the target date/time format&lt;BR /&gt;&lt;BR /&gt;Something like this should work. I never tried converting timestamps with the letter T in them, though. So, if this doesn't work, then you might have to parse the string&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 13:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-Required-for-date-format-conversion/m-p/2525989#M107139</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2025-08-01T13:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help Required for date format conversion</title>
      <link>https://community.qlik.com/t5/App-Development/Help-Required-for-date-format-conversion/m-p/2526137#M107149</link>
      <description>&lt;P&gt;Hi Troyansky,&lt;/P&gt;&lt;P&gt;Thanks for your reply. basically, after version upgrade the date format of log is changed. that we wanted to update like earlier.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 11:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-Required-for-date-format-conversion/m-p/2526137#M107149</guid>
      <dc:creator>ABP2021</dc:creator>
      <dc:date>2025-08-04T11:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help Required for date format conversion</title>
      <link>https://community.qlik.com/t5/App-Development/Help-Required-for-date-format-conversion/m-p/2526292#M107175</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;you can try to format it via load editor may be with something like below.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kaushi2020_0-1754398634350.png" style="width: 627px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182553i455F613183258F64/image-dimensions/627x138?v=v2" width="627" height="138" role="button" title="kaushi2020_0-1754398634350.png" alt="kaushi2020_0-1754398634350.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#0000FF"&gt;&lt;EM&gt;// Sample inline data&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Temp:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;LOAD * INLINE [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; &amp;nbsp; RawTimestamp&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; &amp;nbsp; 20250731T233347.455+1000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#0000FF"&gt;// Process the timestamp&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Final:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; RawTimestamp,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#0000FF"&gt;// Extract parts&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; Date(Mid(RawTimestamp, 1, 8), 'YYYYMMDD') as DatePart,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; Time#(Mid(RawTimestamp, 10, 6), 'hhmmss') as TimePart,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; Left(Mid(RawTimestamp, 17, 3), 3) as MilliSec,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; Mid(RawTimestamp, 20, 5) as TimezoneOffset,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#0000FF"&gt;// Convert to UTC datetime (adjusting for timezone)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; Timestamp(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Timestamp#(Mid(RawTimestamp, 1, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; &amp;amp; ' ' &amp;amp; Mid(RawTimestamp, 10, 6), 'YYYYMMDD hhmmss')&lt;BR /&gt;&amp;nbsp; &amp;nbsp; - (Num(Mid(RawTimestamp, 20, 3)) / 24)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ) as UTC_Timestamp,&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#0000FF"&gt;// Format in final required format&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; Date(Date#(Mid(RawTimestamp, 1, 8), 'YYYYMMDD')) &amp;amp; ' ' &amp;amp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; Time(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; Timestamp(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; Timestamp#(Mid(RawTimestamp, 1, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; &amp;amp; ' ' &amp;amp; Mid(RawTimestamp, 10, 6), 'YYYYMMDD hhmmss')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; &amp;nbsp;-&amp;nbsp; (Num(Mid(RawTimestamp, 20, 3)) / 24)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; &amp;nbsp;), 'hh:mm:ss'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; ) as FinalFormattedTimestamp&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Resident Temp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;DROP TABLE Temp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Pls convert these emoji to 8 ) as mentioned in the below image. Seems it is auto changing this. see below image with highlighted text.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kaushi2020_1-1754398976713.png" style="width: 712px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/182554i1483992C2835CA91/image-dimensions/712x214?v=v2" width="712" height="214" role="button" title="kaushi2020_1-1754398976713.png" alt="kaushi2020_1-1754398976713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 13:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-Required-for-date-format-conversion/m-p/2526292#M107175</guid>
      <dc:creator>Kaushik2020</dc:creator>
      <dc:date>2025-08-05T13:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help Required for date format conversion</title>
      <link>https://community.qlik.com/t5/App-Development/Help-Required-for-date-format-conversion/m-p/2526435#M107212</link>
      <description>&lt;P&gt;tmp:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;RawTimestamp&lt;BR /&gt;20250731T233347.455+1000&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;Final:&lt;BR /&gt;LOAD RawTimestamp,&lt;BR /&gt;timestamp(Timestamp(Timestamp#(Replace(Left(RawTimestamp,15),'T',' '), 'YYYYMMDD hhmmss')),'YYYY-MM-DD hh:mm:ss') AS FinalTimestamp&lt;BR /&gt;RESIDENT tmp;&lt;/P&gt;&lt;P&gt;DROP TABLE tmp;&lt;/P&gt;&lt;P&gt;// FinalTimestamp = 2025-07-31 23:33:47&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 14:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-Required-for-date-format-conversion/m-p/2526435#M107212</guid>
      <dc:creator>antose</dc:creator>
      <dc:date>2025-08-06T14:10:48Z</dc:date>
    </item>
  </channel>
</rss>

