<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlserver.ro/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Question of the Day</title><link>http://sqlserver.ro/forums/17/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: datetime SQL vs Excel (why the difference?)</title><link>http://sqlserver.ro/forums/thread/8118.aspx</link><pubDate>Fri, 19 Mar 2010 11:41:30 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8118</guid><dc:creator>darius2</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8118.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=17&amp;PostID=8118</wfw:commentRss><description>mersi mult :)</description></item><item><title>Re: datetime SQL vs Excel (why the difference?)</title><link>http://sqlserver.ro/forums/thread/8114.aspx</link><pubDate>Mon, 15 Mar 2010 09:01:08 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8114</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8114.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=17&amp;PostID=8114</wfw:commentRss><description>Citat din &lt;a href="http://support.microsoft.com/kb/214058"&gt;http://support.microsoft.com/kb/214058&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;When the date system in Microsoft Excel was originally created, it was designed to be fully compatible with date systems used by other spreadsheet programs. &lt;br /&gt;&lt;br /&gt;However, in this date system, the year 1900 is incorrectly interpreted as a leap year. Because there is no February 29 ("leap day") in the year 1900, the day of the week for any date before March 1, 1900 (the day after the "leap day"), is not computed correctly. &lt;br /&gt;&lt;br /&gt;Vezi şi &lt;a href="http://support.microsoft.com/kb/205719"&gt;http://support.microsoft.com/kb/205719&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;In the Microsoft Office Spreadsheet Component, the value 0 evaluates to the date December 30, 1899 and the value 1 evaluates to December 31, 1899. This is different from Microsoft Excel. In Excel, the value 0 evaluates to January 0, 1900 and the value 1 evaluates to January 1, 1900. The date January 0, 1900 does not exist in the Microsoft Office Spreadsheet Component.&lt;br /&gt;&lt;br /&gt;In addition, the Office Spreadsheet Component does not recognize the year 1900 as a leap year. After March 1, 1900, however, dates in the Microsoft Office Spreadsheet Component and Microsoft Excel begin to match.&lt;br /&gt;&lt;br /&gt;Razvan</description></item><item><title>datetime SQL vs Excel (why the difference?)</title><link>http://sqlserver.ro/forums/thread/8113.aspx</link><pubDate>Sun, 14 Mar 2010 20:48:33 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8113</guid><dc:creator>darius2</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8113.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=17&amp;PostID=8113</wfw:commentRss><description>select CAST(FLOOR(CAST(cast('2010-02-01' as datetime)  AS FLOAT)) AS int) = 40208&lt;br /&gt;&lt;br /&gt;40208 in Excel = 01/30/2010&lt;br /&gt;</description></item></channel></rss>