Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excel dates #2

Open
calvinmetcalf opened this issue Dec 9, 2015 · 2 comments
Open

Excel dates #2

calvinmetcalf opened this issue Dec 9, 2015 · 2 comments

Comments

@calvinmetcalf
Copy link

Arn't they actually December 31st 1899 or something similar slightly off. Due to leap year bug or something.

@hydrosquall
Copy link

@calvinmetcalf could you post an example of the issue you're describing (is it this one?)

@bdcaf
Copy link

bdcaf commented Mar 4, 2017

Yes the dates are stored as number counting from "1899-12-31" (is day 1).
Seems the didn't consider that if year is divisible by 100 it is not a leap year.

Fun fact - there is a second date system used by excel for mac which starts on "1904-01-01" (day 1)
(https://support.microsoft.com/en-us/help/214330/differences-between-the-1900-and-the-1904-date-system-in-excel - interesting they don't mention the leap year bug there... - but surprisingly the difference is 4 years and 1 day)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants