<?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 SQL_CHAR (1) data to Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1648660#M730705</link>
    <description>&lt;P&gt;I have data which does not respond to the following load, which would normally give me a Month.&lt;/P&gt;&lt;P&gt;month(Date(LastUpdatedDateTime)) as [Month Updated],&lt;/P&gt;&lt;P&gt;Text Displayed from&amp;nbsp;LastUpdatedDateTime is&amp;nbsp;2019-11-19 15:04:19:631 + 00:00.&lt;/P&gt;&lt;P&gt;The above doesn't seem to respond to the&amp;nbsp; override document settings format function either.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Brett&lt;/P&gt;&lt;P&gt;Outcome required for above is the month 11, i want to do same for Day 19 and finally year 2019 so i can create search bars.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:54:10 GMT</pubDate>
    <dc:creator>bnelson111</dc:creator>
    <dc:date>2024-11-16T01:54:10Z</dc:date>
    <item>
      <title>SQL_CHAR (1) data to Date</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1648660#M730705</link>
      <description>&lt;P&gt;I have data which does not respond to the following load, which would normally give me a Month.&lt;/P&gt;&lt;P&gt;month(Date(LastUpdatedDateTime)) as [Month Updated],&lt;/P&gt;&lt;P&gt;Text Displayed from&amp;nbsp;LastUpdatedDateTime is&amp;nbsp;2019-11-19 15:04:19:631 + 00:00.&lt;/P&gt;&lt;P&gt;The above doesn't seem to respond to the&amp;nbsp; override document settings format function either.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Brett&lt;/P&gt;&lt;P&gt;Outcome required for above is the month 11, i want to do same for Day 19 and finally year 2019 so i can create search bars.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1648660#M730705</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2024-11-16T01:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: SQL_CHAR (1) data to Date</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649577#M730706</link>
      <description>&lt;P&gt;I have now managed to get what appears to be a date by following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Left(LastUpdatedDateTime, 10) as DateField,&lt;/P&gt;&lt;P&gt;Returns&amp;nbsp;2019-11-21&lt;/P&gt;&lt;P&gt;i want to in the load statement get the day which is 21.&amp;nbsp;Any ideas.&lt;/P&gt;&lt;P&gt;Year(Date#(Left(LastUpdatedDateTime, 4),'YYYY')) as [Year Updated],&lt;/P&gt;&lt;P&gt;this works for Year returns 2019&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 12:19:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649577#M730706</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2019-11-21T12:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: SQL_CHAR (1) data to Date</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649618#M730707</link>
      <description>&lt;P&gt;Try this may be&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Month(TimeStamp#(Trim(SubField(LastUpdatedDateTime, '+', 1)), 'YYYY-MM-DD hh:mm:ss.fff)) as [Month Updated],&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 13:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649618#M730707</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-21T13:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: SQL_CHAR (1) data to Date</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649627#M730708</link>
      <description>&lt;PRE&gt;Month(TimeStamp#(Trim(SubField(LastUpdatedDateTime, '+', 1)), 'YYYY-MM-DD hh:mm:ss.fff)) as [Month Updated],&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately no return of data on a List Box for Month Updated&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 13:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649627#M730708</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2019-11-21T13:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: SQL_CHAR (1) data to Date</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649633#M730709</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Year(Date#(Left(LastUpdatedDateTime, 4),'YYYY')) as [Year Updated],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Above does return a usage year format?? if i could do something similaur on Day and Month from data below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2019-11-21 09:17:44:780 + 00:00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks Brett&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 13:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649633#M730709</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2019-11-21T13:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: SQL_CHAR (1) data to Date</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649636#M730710</link>
      <description>&lt;P&gt;Sorry, try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Month(TimeStamp#(Trim(SubField(LastUpdatedDateTime, '+', 1)), 'YYYY-MM-DD hh:mm:ss:fff')) as [Month Updated],&lt;/LI-CODE&gt;&lt;P&gt;This time I tested it with your data in a text box object using the following expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Month(TimeStamp#(Trim(SubField('2019-11-21 09:17:44:780 + 00:00', '+', 1)), 'YYYY-MM-DD hh:mm:ss:fff'))&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 13:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649636#M730710</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-21T13:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: SQL_CHAR (1) data to Date</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649656#M730711</link>
      <description>&lt;P&gt;Absolutely super, in basic terms what was wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 14:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649656#M730711</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2019-11-21T14:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: SQL_CHAR (1) data to Date</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649665#M730712</link>
      <description>&lt;P&gt;I think with my TimeStamp#() I was readding the micro seconds by using a .fff, whereas the format was using :fff. That changed and secondly, I missed a single quote after my format.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 14:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-CHAR-1-data-to-Date/m-p/1649665#M730712</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-11-21T14:20:02Z</dc:date>
    </item>
  </channel>
</rss>

