<?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 Date and time to Date format from access in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948085#M326416</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;I need to convert date&amp;amp; time format(3/2/2015 7:00:00 AM) to Date(3/2/2015) while linking(ODBC) the tables from MSACCESS DB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Oct 2015 17:33:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-22T17:33:54Z</dc:date>
    <item>
      <title>Date and time to Date format from access</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948085#M326416</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;I need to convert date&amp;amp; time format(3/2/2015 7:00:00 AM) to Date(3/2/2015) while linking(ODBC) the tables from MSACCESS DB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 17:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948085#M326416</guid>
      <dc:creator />
      <dc:date>2015-10-22T17:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Date and time to Date format from access</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948086#M326417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;try in qlik load&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;date(&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;floor&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(&amp;lt;your timestamp field&amp;gt;), 'MM/DD/YYYY') as Date&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&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;try in source load&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; line-height: 1.5em;"&gt;FROM_UNIXTIME(&amp;lt;your timestamp field&amp;gt;,"%c/%d/%Y") as Date&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 17:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948086#M326417</guid>
      <dc:creator>santhoo_san</dc:creator>
      <dc:date>2015-10-22T17:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date and time to Date format from access</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948087#M326418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the Floor function to cut off the time part and the Date function to change the display format. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Date(Floor(MyDate),'M/D/YYYY') as MyDate, .... ;&lt;/P&gt;&lt;P&gt;SQL Select MyDate, ... From ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 17:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948087#M326418</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-22T17:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date and time to Date format from access</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948088#M326419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to use Timestamp#() and Date() functions to transform the field into date and time field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&amp;nbsp;&amp;nbsp; Date(Timestamp#(&amp;lt;DB Fieldname&amp;gt;, 'M/D/YYYY h:mm:ss tt'), 'M/D/YYYY') As &amp;lt;Date Field&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Date(Timestamp#(&amp;lt;DB Fieldname&amp;gt;, 'M/D/YYYY h:mm:ss tt'), 'h:mm:ss tt') As &amp;lt;Time Field&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 17:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948088#M326419</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2015-10-22T17:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Date and time to Date format from access</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948089#M326420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, But results came as date followed by time and followed by date. I need date only.&lt;/P&gt;&lt;P&gt;Query&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO [MS Access Database;DBQ=.....\Tracker\database1.accdb];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A:&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM Qualifying;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Dateandtime to date only.PNG" class="jive-image image-1" src="/legacyfs/online/102829_Dateandtime to date only.PNG" style="height: 137px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 18:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948089#M326420</guid>
      <dc:creator />
      <dc:date>2015-10-22T18:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date and time to Date format from access</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948090#M326421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's sometimes easier to truncate the time portion &lt;EM&gt;before&lt;/EM&gt; hitting the QlikView functions and syntax (in the case of preceding loads).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using "SELECT *", try naming each column explicitly and using the SQL "Cast" function. It was part of SQL-92, so most ODBC drivers implement it by now (though not always):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT&lt;/STRONG&gt; Cast(AssignedDate as Date) as AssignedDate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 19:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948090#M326421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-22T19:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Date and time to Date format from access</title>
      <link>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948091#M326422</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;your screenshot shows, that you loaded A.AssignedDate as Timestamp and added an expression in a Listbox, that additionally shows the date part of the timestamp.&lt;/P&gt;&lt;P&gt;That's why you are ending up with "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date followed by time and followed by date".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to extract the date part already in the load script like Gysbert suggested.&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;Instead of&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;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14455486805312664 jive_text_macro" jivemacro_uid="_14455486805312664"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date(Floor( ... &lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;you could also try with&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;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1445548683918897" jivemacro_uid="_1445548683918897"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DayName(&lt;SPAN style="font-size: 13.3333px;"&gt;A.AssignedDate) as &lt;SPAN style="font-size: 13.3333px;"&gt;A.AssignedDate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&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;if you have set your default DateFormat accordingly.&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;&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;hope this helps&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;regards&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;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 21:19:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-and-time-to-Date-format-from-access/m-p/948091#M326422</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-10-22T21:19:13Z</dc:date>
    </item>
  </channel>
</rss>

