Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Wrong date in Excel 2007 built-in calendar!!!

Excel system assign the date 1900/1/1 as day 1. 1900/1/2 as day 2, etc.

I found that the Excel built-in calendar consists of a serious mistake. As
year 1900 is NOT a leap year, it should NOT have the day 1900/2/29. However,
I can actually find that day in the Excel built-in calendar naming it as day
60. The result is all days after 1900/2/29 are one day later than the actual
day. It actually causes great problem when I have to create own VB calendar
functions as all the days are wrong.

Will microsoft correct this problem?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 225
Default Wrong date in Excel 2007 built-in calendar!!!

This is by design -
"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.

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.

Note that this only affects dates before March 1, 1900, and that the error
only occurs when you use the 1900 Date System in Microsoft Excel.

This problem does not occur if you are using the 1904 date system. When you
use the 1904 date system and the WEEKDAY function to compute the day of the
week for dates prior to January 1, 1904, the function returns a #VALUE!
error. "

So actually the dates before 2/29/1900 are wrong... dates after that are OK.
"machiuyeungsunny" wrote:

Excel system assign the date 1900/1/1 as day 1. 1900/1/2 as day 2, etc.

I found that the Excel built-in calendar consists of a serious mistake. As
year 1900 is NOT a leap year, it should NOT have the day 1900/2/29. However,
I can actually find that day in the Excel built-in calendar naming it as day
60. The result is all days after 1900/2/29 are one day later than the actual
day. It actually causes great problem when I have to create own VB calendar
functions as all the days are wrong.

Will microsoft correct this problem?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Built in Functions 2007 Pepper Excel Worksheet Functions 6 October 19th 09 02:16 PM
Reassign built-in shortcut keys in excel 2007 jan_arge Excel Discussion (Misc queries) 0 July 24th 08 12:31 PM
Excel 2007 opening wrong Joe Excel Discussion (Misc queries) 1 March 27th 08 10:32 PM
How to link an Excel file due date to Outlook calendar date? anok New Users to Excel 0 May 9th 07 09:31 PM
Calendar Problem- What's Wrong? joe smith Excel Discussion (Misc queries) 6 March 22nd 05 10:36 PM


All times are GMT +1. The time now is 02:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"