<?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: Convert Time Stamp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046445#M921840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you just need Month, you can try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month(Date#(Left('&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Jan 28 2016 14:56:37 GMT', 3), 'MMM')) as Month&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this to get the MonthNum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Month(Date#(Left('Jan 28 2016 14:56:37 GMT', 3), 'MMM'))) as MonthNum&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;UPDATE: Also make sure that you correctly read the dateformat when you are using Date# or TimeStamp# functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This -&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Timestamp#(Left(start,20),'MMM&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;.&lt;/SPAN&gt;DD&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;.&lt;/SPAN&gt;YYYY hh:mm:ss')&lt;/STRONG&gt; is not going to work because of the dots you have after MMM and DD (in red). Do you see those in your date? I don't, so why use them in your date formatting. You need the format without the dots like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Timestamp#(Left(start,20),'MMM&lt;/STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000; font-size: 16px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;DD&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 16px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;YYYY hh:mm:ss') &lt;/SPAN&gt;&lt;/STRONG&gt;and then you can use your Date, Month, Day, MonthName, Year functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read through these blogs to increase your understanding on how dates are read in QlikView&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Apr 2016 14:36:13 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-04-17T14:36:13Z</dc:date>
    <item>
      <title>Convert Time Stamp</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046444#M921839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ALL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this TimeStamp 'Jan 28 2016 14:56:37 GMT' I try to get the month and to do that I procede like this :&lt;/P&gt;&lt;P&gt;1.Timestamp#(Left(start,20),'MMM.DD.YYYY hh:mm:ss') return Jan 28 2016 14:56:37 but when add the monthName or Month function didn't return any data " Month(Floor(Timestamp#(Left(start,20),'MMM.DD.YYYY hh:mm:ss')))as Dat,"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2."Date(Date#(start,'MMM.DD.YYYY hh:mm:ss'),'MMM.DD.YYYY')as Dat" I try this to start by diplay the date then I will get the month but it didn' work too!!!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3: I try this"Date(Floor((Timestamp#(Left(start,20),'MMM.DD.YYYY hh:mm:ss')))) "as Dat,' but it didn't return any data too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help !!!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046444#M921839</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Time Stamp</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046445#M921840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you just need Month, you can try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month(Date#(Left('&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Jan 28 2016 14:56:37 GMT', 3), 'MMM')) as Month&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this to get the MonthNum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Month(Date#(Left('Jan 28 2016 14:56:37 GMT', 3), 'MMM'))) as MonthNum&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;UPDATE: Also make sure that you correctly read the dateformat when you are using Date# or TimeStamp# functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This -&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Timestamp#(Left(start,20),'MMM&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;.&lt;/SPAN&gt;DD&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;.&lt;/SPAN&gt;YYYY hh:mm:ss')&lt;/STRONG&gt; is not going to work because of the dots you have after MMM and DD (in red). Do you see those in your date? I don't, so why use them in your date formatting. You need the format without the dots like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Timestamp#(Left(start,20),'MMM&lt;/STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #ff0000; font-size: 16px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;DD&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 16px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;YYYY hh:mm:ss') &lt;/SPAN&gt;&lt;/STRONG&gt;and then you can use your Date, Month, Day, MonthName, Year functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read through these blogs to increase your understanding on how dates are read in QlikView&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2016 14:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046445#M921840</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-17T14:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Time Stamp</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046446#M921841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are not dots in the timestamp format, so try removing them&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;Month(Timestamp#(Left(start,20),'MMM DD YYYY hh:mm:ss')) as Dat&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;or just&lt;/SPAN&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;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;Month(Timestamp#(Left(start,11),'MMM DD YYYY')) as Dat&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2016 14:38:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046446#M921841</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-17T14:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Time Stamp</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046447#M921842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2016 16:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046447#M921842</guid>
      <dc:creator />
      <dc:date>2016-04-17T16:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Time Stamp</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046448#M921843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2016 16:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046448#M921843</guid>
      <dc:creator />
      <dc:date>2016-04-17T16:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Time Stamp</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046449#M921844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your question is now answered, please flag the Correct Answer.&lt;/P&gt;&lt;P&gt;If not, please let us know with which part of your question you still need help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2016 20:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046449#M921844</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-04-17T20:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Time Stamp</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046450#M921845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Onno,&lt;/P&gt;&lt;P&gt;I tried the two suggestions and they work well ,&lt;/P&gt;&lt;P&gt;Done for the mention .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2016 20:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Time-Stamp/m-p/1046450#M921845</guid>
      <dc:creator />
      <dc:date>2016-04-17T20:47:51Z</dc:date>
    </item>
  </channel>
</rss>

