<?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: An odd date from sql - what is it? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983578#M335716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When a date occurs then it is correctly shown:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="190"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" width="190"&gt;11/11/2015&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one is left aligned the other right aligned:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="190"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="190"&gt;1801-01-01 00:00:00.000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="17" style="border-top: none;"&gt;11/11/2015&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Nov 2015 11:21:09 GMT</pubDate>
    <dc:creator>josephinetedesc</dc:creator>
    <dc:date>2015-11-12T11:21:09Z</dc:date>
    <item>
      <title>An odd date from sql - what is it?</title>
      <link>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983570#M335708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="183"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="183"&gt;1801-01-01 00:00:00.000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Hi all when I do a query in SQL I get a date that looks like the date above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anone tell me what it is?&amp;nbsp; Is it a hex code for null or something???&amp;nbsp; Qlikview gives me the same thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 10:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983570#M335708</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2015-11-12T10:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: An odd date from sql - what is it?</title>
      <link>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983571#M335709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems like a junk value or system defined date, would suggest interpret the date fields with new date format..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 10:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983571#M335709</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T10:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: An odd date from sql - what is it?</title>
      <link>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983572#M335710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like a timestamp value for midnight 1st Jan 1801.&lt;/P&gt;&lt;P&gt;formatted as YYYY-MM-DD&amp;nbsp; hh:mm:ss.fff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have come across some applications that insert a base date value rather than nulls in empty or blank date fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the next earliest date in the system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 10:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983572#M335710</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-11-12T10:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: An odd date from sql - what is it?</title>
      <link>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983573#M335711</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 convert this in Sql. Search about clarion date in google, you will know about this.&amp;nbsp; Check the below link.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.gist.github.com/fushnisoft/5857270"&gt;gist.github.com/fushnisoft/5857270&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 10:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983573#M335711</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-12T10:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: An odd date from sql - what is it?</title>
      <link>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983574#M335712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the values for NULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the below thread&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sqlservercentral.com/Forums/Topic1152065-8-1.aspx"&gt;http://www.sqlservercentral.com/Forums/Topic1152065-8-1.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 10:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983574#M335712</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-11-12T10:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: An odd date from sql - what is it?</title>
      <link>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983575#M335713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tht's qlikview default time stamp value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 10:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983575#M335713</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-11-12T10:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: An odd date from sql - what is it?</title>
      <link>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983576#M335714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thread no longer exists ... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 11:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983576#M335714</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2015-11-12T11:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: An odd date from sql - what is it?</title>
      <link>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983577#M335715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some background info:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;weird dates like this usually represent the binary 0 value for an otherwise valid DateTime field. DateTime values are kept as a numerical value, most often a number of seconds since a starting date (often called &lt;EM&gt;epoch&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;The starting moment is chosen by the DB manufacturer. In this case value 0 = 1st second of Jan 1st, 1801. Different DB vendors will use a different start date. Microsoft chose Dec 31, 1899 for the zero value in Excel and as a result that is the starting value for Timestamps in QlikView as well (try a text box with an expression like &lt;SPAN style="font-family: 'courier new', courier;"&gt;=TimeStamp(0)&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 11:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983577#M335715</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-11-12T11:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: An odd date from sql - what is it?</title>
      <link>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983578#M335716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When a date occurs then it is correctly shown:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="190"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="17" width="190"&gt;11/11/2015&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one is left aligned the other right aligned:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="190"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="190"&gt;1801-01-01 00:00:00.000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="17" style="border-top: none;"&gt;11/11/2015&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 11:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983578#M335716</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2015-11-12T11:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: An odd date from sql - what is it?</title>
      <link>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983579#M335717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;A href="http://www.tek-tips.com/viewthread.cfm?qid=460433" title="http://www.tek-tips.com/viewthread.cfm?qid=460433"&gt;Clarion dates in Crystal parameters - Business Objects: Crystal Reports 4 Other topics - Tek-Tips&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Crystal is the program that comes with the package ... so makes sense ... The value is overwritten when the value changes because it has been edited or something has happened.&lt;/P&gt;&lt;P&gt;Thank you all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 11:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983579#M335717</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2015-11-12T11:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: An odd date from sql - what is it?</title>
      <link>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983580#M335718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;timestamp(0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timestamp(-36161)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; This is apparently the Clarion number and Crystal seems to use the Clarion number.&amp;nbsp; So Excel uses 1/1/1900 as day1, but Crystal/Clarion seems to use this other number as their day1 +4 to get the 1/1/1801 .&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105223_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Thank you all again.&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 11:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/An-odd-date-from-sql-what-is-it/m-p/983580#M335718</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2015-11-12T11:45:01Z</dc:date>
    </item>
  </channel>
</rss>

