<?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: Date Format in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596762#M44121</link>
    <description>&lt;P&gt;Perhaps the SQL output or MMM D YYYY... is padded with a non-printing or white space (other than a space) character, for example a no break space (chr(160) in UTF-8 if I remember correctly). Use PurgeChar() to remove this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Num(
	TimeStamp#(
		PurgeChar(DateField, chr(160)), 
	'MMM D YYYY hh:mmTT')
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can't determine what the character is, then you could also:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Num(
	TimeStamp#(
		KeepChar(Upper(DateField), ' :ABCDEFGHIJKLIMNOPQRESTUVXYZ0123456789'),
	'MMM D YYYY hh:mmTT')
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You don't really need the full alphabet, so you can trim out the unused letters if you prefer.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2019 12:27:32 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2019-06-27T12:27:32Z</dc:date>
    <item>
      <title>Date Format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596243#M43889</link>
      <description>&lt;P&gt;Date format in SQL is DD-MM-YYYY hh:mm:ss tt . while extracting it in qliksense it comes as MMM DD YYYY hh:mmtt/MMM D YYYY hh:mmtt .&lt;/P&gt;&lt;P&gt;Need to convert it in DD-MM-YYYY . Checked with all the function Timestamp#,Date#,Date,Num,Num# but not able its not getting converted.&lt;/P&gt;&lt;P&gt;while checking the len(date field)&lt;/P&gt;&lt;P&gt;MMM DD YYYY hh:mmtt = 19&lt;/P&gt;&lt;P&gt;and for&lt;/P&gt;&lt;P&gt;MMM D YYYY hh:mmtt = 19 (it should be 18) .&lt;/P&gt;&lt;P&gt;Is their is any other way to convert in DD-MM-YYYY.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 12:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596243#M43889</guid>
      <dc:creator>shivam_kathairiya</dc:creator>
      <dc:date>2019-06-26T12:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596251#M43890</link>
      <description>&lt;P&gt;Does this not work?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date(Floor(DateField), 'DD-MM-YYYY') as DateField&lt;/LI-CODE&gt;&lt;P&gt;If not, then may be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date(
  Floor(
    Alt(
      Num(TimeStamp#(DateField, 'MMM DD YYYY hh:mmTT')),
      Num(TimeStamp#(DateField, 'MMM  D YYYY hh:mmTT'))
    )
  )
, 'DD-MM-YYYY') as DateField&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 12:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596251#M43890</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-26T12:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596550#M44099</link>
      <description>&lt;P&gt;No its not working..&lt;/P&gt;&lt;P&gt;i have already try alt also .. and the reason is&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i am writing&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Num(TimeStamp#(DateField, 'MMM DD YYYY hh:mmTT'))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Date1.PNG" style="width: 418px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14511i863F23DF8022A9BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Date1.PNG" alt="Date1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and when i am passing&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Num(TimeStamp#(DateField, 'MMM  D YYYY hh:mmTT'))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;again the Output is same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Single D format is not getting capture.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 04:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596550#M44099</guid>
      <dc:creator>shivam_kathairiya</dc:creator>
      <dc:date>2019-06-27T04:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596749#M44117</link>
      <description>&lt;P&gt;May be try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Num(TimeStamp#(DateField, 'MMM D YYYY hh:mmTT'))&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 27 Jun 2019 11:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596749#M44117</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-27T11:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596751#M44118</link>
      <description>&lt;P&gt;Its also not working have tried this also . on applying any function num,num3,floor etc null is coming its working for DD format but for D ist coming Null.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="format.PNG" style="width: 668px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14552iCE40DA2393225776/image-size/large?v=v2&amp;amp;px=999" role="button" title="format.PNG" alt="format.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 11:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596751#M44118</guid>
      <dc:creator>shivam_kathairiya</dc:creator>
      <dc:date>2019-06-27T11:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596762#M44121</link>
      <description>&lt;P&gt;Perhaps the SQL output or MMM D YYYY... is padded with a non-printing or white space (other than a space) character, for example a no break space (chr(160) in UTF-8 if I remember correctly). Use PurgeChar() to remove this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Num(
	TimeStamp#(
		PurgeChar(DateField, chr(160)), 
	'MMM D YYYY hh:mmTT')
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can't determine what the character is, then you could also:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Num(
	TimeStamp#(
		KeepChar(Upper(DateField), ' :ABCDEFGHIJKLIMNOPQRESTUVXYZ0123456789'),
	'MMM D YYYY hh:mmTT')
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You don't really need the full alphabet, so you can trim out the unused letters if you prefer.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 12:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-Format/m-p/1596762#M44121</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-06-27T12:27:32Z</dc:date>
    </item>
  </channel>
</rss>

