<?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: Custom format in QlikView for DateTime in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-format-in-QlikView-for-DateTime/m-p/541024#M1268257</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; I guess the Date which you are getting from Excel is already in Date format, so you just need to use below function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load Date(StartDate,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'YYYY/MM/DD&amp;nbsp; hh:mm:ss TT') as Start_Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From XYZ.xls;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2013 06:55:23 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2013-11-19T06:55:23Z</dc:date>
    <item>
      <title>Custom format in QlikView for DateTime</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-format-in-QlikView-for-DateTime/m-p/541023#M1268256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get DateTime difference and we have a function for that as below,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;=Interval(Enddate-Startdate, 'mm')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But for this we need date in specific format i.e. as below,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ffff00;"&gt;&lt;STRONG style="color: #00ff00;"&gt;let Startdate = num(timestamp#('2012/10/02&amp;nbsp; 11:55:25 PM','YYYY/MM/DD&amp;nbsp; hh:mm:ss TT'));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00ff00;"&gt;&lt;STRONG&gt;let Enddate= num(timestamp#('2012/10/03&amp;nbsp; 01:55:26 AM','YYYY/MM/DD&amp;nbsp; hh:mm:ss TT'));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting data from excel where my date format is as below,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #99cc00;"&gt;&lt;STRONG style="color: #ff0000;"&gt;8/1/2013&amp;nbsp; 3:54:34 AM&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and unable to make it in above format even after using custom format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please guide me how can I do custom format in QlikView so that I will get date in below format&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #99cc00;"&gt;&lt;STRONG&gt; '2012/10/02&amp;nbsp; 11:55:25 PM'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-format-in-QlikView-for-DateTime/m-p/541023#M1268256</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom format in QlikView for DateTime</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-format-in-QlikView-for-DateTime/m-p/541024#M1268257</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; I guess the Date which you are getting from Excel is already in Date format, so you just need to use below function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load Date(StartDate,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'YYYY/MM/DD&amp;nbsp; hh:mm:ss TT') as Start_Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From XYZ.xls;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 06:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-format-in-QlikView-for-DateTime/m-p/541024#M1268257</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-11-19T06:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom format in QlikView for DateTime</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-format-in-QlikView-for-DateTime/m-p/541025#M1268259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check format code for dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;Dates&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp; To describe the day, use the symbol "D" for each digit. &lt;/LI&gt;&lt;LI class="P-Bullet" style="margin-left: -20px;"&gt;&lt;P class="Bullet"&gt;To describe the month number, use the symbol "M" or "MM" for one or two digits. "MMM" denotes short month name in letters as defined by the operating system or by the override system variable MonthNames in the script. "MMMM" denotes long month name in letters as defined by the operating system or by the override system variable LongMonthNames in the script.&lt;/P&gt;&lt;/LI&gt;&lt;LI class="P-Bullet" style="margin-left: -20px;"&gt;&lt;P class="Bullet"&gt;To describe the year, use the symbol "Y" for each digit.&lt;/P&gt;&lt;/LI&gt;&lt;LI class="P-Bullet" style="margin-left: -20px;"&gt;&lt;P class="Bullet"&gt;To describe the weekday, use the symbol "W". One W will return the number of the day (e.g. 0 for Monday) as a single digit. "WW" will return the number with two digits (e.g. 02 for Wednesday). "WWW" will show the short version of the weekday name (e.g. Mon) as defined by the operating system or by the override system variable DayName in the script. "WWWW" will show the long version of the weekday name (e.g. Monday) as defined by the operating system or by the override system variable LongDayName in the script&lt;/P&gt;&lt;/LI&gt;&lt;LI class="P-Bullet" style="margin-left: -20px;"&gt;&lt;P class="Bullet"&gt;Arbitrary separators can be used.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H2&gt;Times&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp; To describe the hours, use the symbol "h" for each digit. &lt;/LI&gt;&lt;LI class="P-Bullet" style="margin-left: -20px;"&gt;&lt;P class="Bullet"&gt;To describe the minutes, use the symbol "m" for each digit.&lt;/P&gt;&lt;/LI&gt;&lt;LI class="P-Bullet" style="margin-left: -20px;"&gt;&lt;P class="Bullet"&gt;To describe the seconds, use the symbol "s" for each digit.&lt;/P&gt;&lt;/LI&gt;&lt;LI class="P-Bullet" style="margin-left: -20px;"&gt;&lt;P class="Bullet"&gt;To describe the fractions of a second, use the symbol "f" for each digit.&lt;/P&gt;&lt;/LI&gt;&lt;LI class="P-Bullet" style="margin-left: -20px;"&gt;&lt;P class="Bullet"&gt;To describe the time in AM/PM format, use the symbol "tt" after the time.&lt;/P&gt;&lt;/LI&gt;&lt;LI class="P-Bullet" style="margin-left: -20px;"&gt;&lt;P class="Bullet"&gt;Arbitrary separators can be used.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class="example"&gt;Examples (Date):&lt;/P&gt;&lt;P&gt;YY-MM-&lt;SPAN style="color: #ffffff; background-color: #316ac5;"&gt;DD&lt;/SPAN&gt; describes the date as 01-03-31.&lt;/P&gt;&lt;P&gt;YYYY-MM-&lt;SPAN style="color: #ffffff; background-color: #316ac5;"&gt;DD&lt;/SPAN&gt; describes the date as 2001-03-31.&lt;/P&gt;&lt;P&gt;YYYY-MMM-&lt;SPAN style="color: #ffffff; background-color: #316ac5;"&gt;DD&lt;/SPAN&gt; describes the date as 2001-Mar-31.&lt;/P&gt;&lt;P&gt;31 MMMM YYYY describes the date as 31 March 2001.&lt;/P&gt;&lt;P&gt;M/D/YY describes the date as 3/31/01.&lt;/P&gt;&lt;P&gt;W YY-MM-&lt;SPAN style="color: #ffffff; background-color: #316ac5;"&gt;DD&lt;/SPAN&gt; describes the date as 6 01-03-31.&lt;/P&gt;&lt;P&gt;WWW YY-MM-&lt;SPAN style="color: #ffffff; background-color: #316ac5;"&gt;DD&lt;/SPAN&gt; describes the date as Sat 01-03-31.&lt;/P&gt;&lt;P&gt;WWWW YY-MM-&lt;SPAN style="color: #ffffff; background-color: #316ac5;"&gt;DD&lt;/SPAN&gt; describes the date as Saturday 01-03-31.&lt;/P&gt;&lt;P class="example"&gt;Examples (Time):&lt;/P&gt;&lt;P&gt;hh:mm describes the time as 18:30&lt;/P&gt;&lt;P&gt;hh.mm.ss.ff describes the time as 18.30.00.00&lt;/P&gt;&lt;P&gt;hh:mm:tt describes the time as 06:30:pm&lt;/P&gt;&lt;P class="example"&gt;Examples (Timestamps):&lt;/P&gt;&lt;P&gt;YY-MM-&lt;SPAN style="color: #ffffff; background-color: #316ac5;"&gt;DD&lt;/SPAN&gt; hh:mm describes the timestamp as 97-03-31 18:30&lt;/P&gt;&lt;P&gt;M/D/Y hh.mm.ss.ffff describes the timestamp as 3/31/97 18.30.00.0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : From Qlikview Help file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 07:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-format-in-QlikView-for-DateTime/m-p/541025#M1268259</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-11-19T07:07:11Z</dc:date>
    </item>
  </channel>
</rss>

