<?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 Seeking Best Practices for Loading Dates into QlikView from SQL Server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Seeking-Best-Practices-for-Loading-Dates-into-QlikView-from-SQL/m-p/649336#M237558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most would agree to standardized how most dates are loaded.&lt;/P&gt;&lt;P&gt;Do you standardized or format so they are all loaded the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you do it on the SQL side ie.&amp;nbsp;&amp;nbsp;&amp;nbsp; convert(date,SomeDateField,101)&amp;nbsp; then create a .qvd to load&lt;/P&gt;&lt;P&gt;or do you do it on QV load into the dashboard&amp;nbsp; date(SomeDateField,"MM/DD/YYYY")?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is a date field and in the script file you set the&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; set &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;DateFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='MM/DD/YYYY';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do you still take the time to format the date individually?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;just some thoughts- wondering how others address this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Aug 2014 17:49:07 GMT</pubDate>
    <dc:creator>ellyodelly</dc:creator>
    <dc:date>2014-08-08T17:49:07Z</dc:date>
    <item>
      <title>Seeking Best Practices for Loading Dates into QlikView from SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Seeking-Best-Practices-for-Loading-Dates-into-QlikView-from-SQL/m-p/649336#M237558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most would agree to standardized how most dates are loaded.&lt;/P&gt;&lt;P&gt;Do you standardized or format so they are all loaded the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you do it on the SQL side ie.&amp;nbsp;&amp;nbsp;&amp;nbsp; convert(date,SomeDateField,101)&amp;nbsp; then create a .qvd to load&lt;/P&gt;&lt;P&gt;or do you do it on QV load into the dashboard&amp;nbsp; date(SomeDateField,"MM/DD/YYYY")?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is a date field and in the script file you set the&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; set &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;DateFormat&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='MM/DD/YYYY';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do you still take the time to format the date individually?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;just some thoughts- wondering how others address this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 17:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seeking-Best-Practices-for-Loading-Dates-into-QlikView-from-SQL/m-p/649336#M237558</guid>
      <dc:creator>ellyodelly</dc:creator>
      <dc:date>2014-08-08T17:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking Best Practices for Loading Dates into QlikView from SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Seeking-Best-Practices-for-Loading-Dates-into-QlikView-from-SQL/m-p/649337#M237559</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;Usually the thing to care about is to load the dates as numbers instead of strings.&lt;/P&gt;&lt;P&gt;The text format you can change later. Sometimes you have to do it to use different for some charts.&lt;/P&gt;&lt;P&gt;Setting the right DateFormat corresponding the source allows QV to handle the conversion automatically. Otherwise you will have to use # functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Aug 2014 06:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seeking-Best-Practices-for-Loading-Dates-into-QlikView-from-SQL/m-p/649337#M237559</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-08-09T06:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking Best Practices for Loading Dates into QlikView from SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Seeking-Best-Practices-for-Loading-Dates-into-QlikView-from-SQL/m-p/649338#M237560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning-&amp;nbsp; and I offer my apologies-&amp;nbsp; I did not see this hiding in my messages.&amp;nbsp; I thank you for the response.&amp;nbsp;&amp;nbsp; So I just wanted to clarify.&amp;nbsp; when you are selecting out of SQL Server a date INVOICE_DATE you would force the conversion&amp;nbsp; ie...&amp;nbsp; select convert(bigint,INVOICE_DATE) as invoice_date_as_number from...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then when using that number in QLIK you will format it into a date?&amp;nbsp; #DATE or DATE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 12:34:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seeking-Best-Practices-for-Loading-Dates-into-QlikView-from-SQL/m-p/649338#M237560</guid>
      <dc:creator>ellyodelly</dc:creator>
      <dc:date>2014-10-01T12:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Seeking Best Practices for Loading Dates into QlikView from SQL Server</title>
      <link>https://community.qlik.com/t5/QlikView/Seeking-Best-Practices-for-Loading-Dates-into-QlikView-from-SQL/m-p/649339#M237561</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;Try to select without convert() and check if QV stores the numbers or strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#Date functions read the string and create dual (both number and text, the way QV handles the dates) according to the format string provided.&lt;/P&gt;&lt;P&gt;Date functions take the dual and change the text &lt;STRONG&gt;only&lt;/STRONG&gt; according to the format string provided.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2014 18:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seeking-Best-Practices-for-Loading-Dates-into-QlikView-from-SQL/m-p/649339#M237561</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-10-04T18:48:41Z</dc:date>
    </item>
  </channel>
</rss>

