ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Incorrect Excel date 1900 is not a leap year 1/1/1901 < 367 (https://www.excelbanter.com/excel-discussion-misc-queries/112520-incorrect-excel-date-1900-not-leap-year-1-1-1901-367-a.html)

faijaimond

Incorrect Excel date 1900 is not a leap year 1/1/1901 < 367
 
Excel has a general format for a date default to number of days since
1/1/1900. This is helpful in determining date differences. The only issue
is that Excel recognized 1/1/1900 as a leap year. If 1/1/1900 is subtracted
from 1/1/1901, the answer should be 365 days, but Excel yields 366. Excel
also recognized 02/29/1900 as a valid date, but this date does not exist,
hence there should only be 365 days in 1900.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc

Jim Cone

Incorrect Excel date 1900 is not a leap year 1/1/1901 < 367
 
Read this...
http://j-walk.com/ss/excel/odd/odd02.htm
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"faijaimond"
wrote in message
Excel has a general format for a date default to number of days since
1/1/1900. This is helpful in determining date differences. The only issue
is that Excel recognized 1/1/1900 as a leap year. If 1/1/1900 is subtracted
from 1/1/1901, the answer should be 365 days, but Excel yields 366. Excel
also recognized 02/29/1900 as a valid date, but this date does not exist,
hence there should only be 365 days in 1900.



Elkar

Incorrect Excel date 1900 is not a leap year 1/1/1901 < 367
 
This is a well-known, although intentional, "flaw" in the date system that
Excel uses. See this article:

http://support.microsoft.com/kb/214326/en-us

HTH,
Elkar


"faijaimond" wrote:

Excel has a general format for a date default to number of days since
1/1/1900. This is helpful in determining date differences. The only issue
is that Excel recognized 1/1/1900 as a leap year. If 1/1/1900 is subtracted
from 1/1/1901, the answer should be 365 days, but Excel yields 366. Excel
also recognized 02/29/1900 as a valid date, but this date does not exist,
hence there should only be 365 days in 1900.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc



All times are GMT +1. The time now is 04:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com