<?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: Converting SQL Date Format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157974#M905976</link>
    <description>&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;I tried all of the suggestions above but I'm still getting blanks.. Here is my code to provideo some context.&amp;nbsp; The original date field format is like this:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="; color: #0000ff; font-size: 8pt;"&gt;05 JUN 14 14:49:47 or DD MON YY hh24:min:ss&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;The desired format is MM/DD/YY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OLEDB&lt;/SPAN&gt; &lt;STRONG style="; color: #0000ff; font-size: 8pt;"&gt;CONNECT&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Provider=OraOLEDB.Oracle.1;Persist Security Info=True;User ID=D494263;Data Source="(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=psin4p789.svr.us.[redacted].net)(PORT=6336))(CONNECT_DATA=(SERVICE_NAME=CPRP_RPT_SERV.GTI.whem.[redacted].net)))";Extended Properties=""]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;XPassword&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; WXAObFFKNDTITbRMXRSA);&lt;BR /&gt;&lt;BR /&gt;Changes:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoConcatenate&lt;/SPAN&gt; &lt;STRONG style="; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Change ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Change Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//Date(Date#(Left([Change Actual Open Time], 10), 'MM/DD/YYYY'), 'MM/DD/YY') as ChangeOpenDate&lt;BR /&gt;//Date(Floor(Date#([Change Actual Open Time], 'DD MMM YY hh:mm:ss')), 'MM/DD/YY') as ChangeOpenDate&lt;BR /&gt;//Date(Date#(Left(Date([Change Actual Open Time], 10),'DD MON YY HH24:MI:SS'),'MM/DD/YY')) as ChangeOpenDate&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Change Actual Open Time]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 9), 'DD MON YY HH24:MI:SS'), 'MM/DD/YY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ChangeOpenDate1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.CHANGE_ID&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change ID",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.CHANGE_NUMBER&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Number",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.TITLE&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Title",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.DESCRIPTION&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Description",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.OWNING_LOB_NAME&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Owner Full LOB",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;B.CATEGORY_NAME&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Urgency",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;B.IMPACT&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Risk Impact",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;B.STATUS_NAME&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Status",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;TO_CHAR(A.ACTUAL_OPEN_EST_TIME,&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;'DD MON YY HH24:MI:SS')&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Actual Open Time",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;C.ENVIRONMENT_ID&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Environment ID",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.STATUS_ID&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Status ID",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;EXTRACT(DAY&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.ACTUAL_OPEN_EST_TIME)&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Day",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;EXTRACT(MONTH&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.ACTUAL_OPEN_EST_TIME)&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Months",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;EXTRACT(YEAR&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.ACTUAL_OPEN_EST_TIME)&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Year",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;OWNING_LOB_NAME, &lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2019 19:32:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2019-05-07T19:32:42Z</dc:date>
    <item>
      <title>Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157966#M905966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date field which I am pulling in via SQL script as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; TO_CHAR(A.ACTUAL_OPEN_EST_TIME, 'DD MON YY HH24:MI:SS')&amp;nbsp; As "Change Actual Open Time",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above my SQL code, I'm attempting to convert this to a useable date format using the following code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(Date#(Left([Change Actual Open Time], 10), 'MM/DD/YYYY'), 'MM/DD/YY') as ChangeOpenDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting all blank values.. not sure what I'm doing wrong here.&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/Converting-SQL-Date-Format/m-p/1157966#M905966</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157967#M905967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without any manipulations what do you get? A date like this -&amp;gt;? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it does, then try like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(Floor(Date#([Change Actual Open Time], 'DD MMM YY hh:mm:ss')), 'MM/DD/YY') as ChangeOpenDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For time may be this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Time(Frac(Date#([Change Actual Open Time], 'DD MMM YY hh:mm:ss'))) as ChangeOpenTime&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 21:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157967#M905967</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-20T21:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157968#M905968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand your question..&amp;nbsp; The original field from the SQL script is formatted like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/128563_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the first line of code you sent over but I'm still getting blanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 22:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157968#M905968</guid>
      <dc:creator />
      <dc:date>2016-06-20T22:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157969#M905969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(Date#(Left([Change Actual Open Time], 9), 'DD MMM YY'), 'MM/DD/YY') as ChangeOpenDate&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 04:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157969#M905969</guid>
      <dc:creator />
      <dc:date>2016-06-21T04:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157970#M905970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The function &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date#(Date,'Format') &lt;/STRONG&gt;is used to interpret the source date, so the second parameter 'format' here must be exactly same as it comes from the source(as correctly suggested by others). Date# will change the source field to date type only if Qlikview is able to interpret the source format properly. The second &lt;STRONG&gt;date &lt;/STRONG&gt;helps to convert the date field in desired format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 05:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157970#M905970</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-06-21T05:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157971#M905972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=date(date#(&lt;STRONG&gt;[Change Actual Open Time]&lt;/STRONG&gt;,'DD MMM YY hh:mm:ss'),'DD/MM/YY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &lt;STRONG&gt;[Change Actual Open Time] = '30 Apr 16 11:45:50'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Then:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=date(date#('31 Apr 16 11:45:50','DD MMM YY hh:mm:ss'),'DD/MM/YY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;30/04/16&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 05:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157971#M905972</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-06-21T05:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157972#M905974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give us one example of your data ?&lt;/P&gt;&lt;P&gt;So that we can help you in getting the desired output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 05:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157972#M905974</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-06-21T05:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157973#M905975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;Date(Date#([Change Actual Open Time],'DD MMM YY hh:mm:ss'),'DD/MM/YYYY') AS YourDateField&lt;/P&gt;&lt;P&gt;Time(Date#([Change Actual Open Time],'DD MMM YY hh:mm:ss'),'hh:mm:ss') AS YourTimeField&lt;/P&gt;&lt;P&gt;If you have a line break between year and hour, try this:&lt;/P&gt;&lt;P&gt;Date(Date#([Change Actual Open Time],'DD MMM YY'&amp;amp;CHR(10)&amp;amp;'hh:mm:ss'),'DD/MM/YYYY') AS YourDateField&lt;/P&gt;&lt;P&gt;Time(Date#([Change Actual Open Time],'DD MMM YY'&amp;amp;CHR(10)&amp;amp;'hh:mm:ss'),'hh:mm:ss') AS YourTimeField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 06:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157973#M905975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-21T06:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157974#M905976</link>
      <description>&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;I tried all of the suggestions above but I'm still getting blanks.. Here is my code to provideo some context.&amp;nbsp; The original date field format is like this:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="; color: #0000ff; font-size: 8pt;"&gt;05 JUN 14 14:49:47 or DD MON YY hh24:min:ss&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;The desired format is MM/DD/YY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OLEDB&lt;/SPAN&gt; &lt;STRONG style="; color: #0000ff; font-size: 8pt;"&gt;CONNECT&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Provider=OraOLEDB.Oracle.1;Persist Security Info=True;User ID=D494263;Data Source="(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=psin4p789.svr.us.[redacted].net)(PORT=6336))(CONNECT_DATA=(SERVICE_NAME=CPRP_RPT_SERV.GTI.whem.[redacted].net)))";Extended Properties=""]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;XPassword&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; WXAObFFKNDTITbRMXRSA);&lt;BR /&gt;&lt;BR /&gt;Changes:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoConcatenate&lt;/SPAN&gt; &lt;STRONG style="; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Change ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Change Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//Date(Date#(Left([Change Actual Open Time], 10), 'MM/DD/YYYY'), 'MM/DD/YY') as ChangeOpenDate&lt;BR /&gt;//Date(Floor(Date#([Change Actual Open Time], 'DD MMM YY hh:mm:ss')), 'MM/DD/YY') as ChangeOpenDate&lt;BR /&gt;//Date(Date#(Left(Date([Change Actual Open Time], 10),'DD MON YY HH24:MI:SS'),'MM/DD/YY')) as ChangeOpenDate&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Change Actual Open Time]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 9), 'DD MON YY HH24:MI:SS'), 'MM/DD/YY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ChangeOpenDate1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.CHANGE_ID&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change ID",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.CHANGE_NUMBER&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Number",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.TITLE&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Title",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.DESCRIPTION&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Description",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.OWNING_LOB_NAME&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Owner Full LOB",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;B.CATEGORY_NAME&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Urgency",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;B.IMPACT&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Risk Impact",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;B.STATUS_NAME&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Status",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;TO_CHAR(A.ACTUAL_OPEN_EST_TIME,&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;'DD MON YY HH24:MI:SS')&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Actual Open Time",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;C.ENVIRONMENT_ID&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Environment ID",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.STATUS_ID&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Status ID",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;EXTRACT(DAY&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.ACTUAL_OPEN_EST_TIME)&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Day",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;EXTRACT(MONTH&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.ACTUAL_OPEN_EST_TIME)&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Months",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;EXTRACT(YEAR&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;A.ACTUAL_OPEN_EST_TIME)&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #408080; font-size: 8pt;"&gt;"Change Year",&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #408080; font-size: 8pt;"&gt;OWNING_LOB_NAME, &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 19:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157974#M905976</guid>
      <dc:creator />
      <dc:date>2019-05-07T19:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157975#M905977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julian,&lt;/P&gt;&lt;P&gt;Could you share a file with an example of your dates please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 06:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157975#M905977</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-22T06:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157976#M905978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Input:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 05 JUN 14 14:49:47 or DD MON YY hh24:min:ss&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;The desired format is MM/DD/YY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Output: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/128766_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(Timestamp(Timestamp#('05 JUN 14 14:49:47','DD MMM YY hh:mm:ss'),'DD/MMM/YY hh:mm:ss tt'),'MM/DD/YY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 07:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157976#M905978</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-06-22T07:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157977#M905979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Varsha-- this actually worked to convert the format, but appears to be only hiding the timestamp.&amp;nbsp; I can tell because when I create a list box I have a ton of duplicate dates..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 17:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157977#M905979</guid>
      <dc:creator />
      <dc:date>2016-06-23T17:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157978#M905980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Input from SQL:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff;"&gt;05 JUN 14 14:49:47 OR &lt;STRONG style="color: #0000ff;"&gt;DD MON YY hh24:min:ss&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff;"&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Desired Output:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;6/5/14 OR MM/DD/YY&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 17:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157978#M905980</guid>
      <dc:creator />
      <dc:date>2016-06-23T17:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Converting SQL Date Format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157979#M905981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this one worked.. thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 19:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-SQL-Date-Format/m-p/1157979#M905981</guid>
      <dc:creator />
      <dc:date>2016-06-23T19:40:41Z</dc:date>
    </item>
  </channel>
</rss>

