Hello @WebDesignesCrow , (I've also posted this on the addin page)
JMP's calculations are correct; for example, 45008 days from 0000, 01 Jan 1900 is 0000, 25 March 2023--not 23 March 2023.
Here is why:
The years 1900 - 2019, inclusive, represent 30 "blocks" of 4 years each. Each "block" contains (366 + 365 + 365 + 365) = 1461 days, EXCEPT the block with year 1900. 1900 is not a leap year, because if a year is divisible by 100, but not 400, the year is not a leap year.
So we have 1461 * 30 - 1 = 43829 days in the years 1900 - 2019 inclusive.
2020, 2021, and 2022 add (366 + 365 + 365) days.
Jan, Feb of 2023 add (31 + 28) days.
March of 2023 adds 24 days to get us to 0000 on the 25th.
This total is 43829 + 366 + 365 + 365 + 31 + 28 + 24 = 45008. Any remaining decimal portion is what gives the hours, minutes and seconds on 25 March 2023.
I'm not sure what is being done in Excel, but here are some common errors when computing date ranges manually (as may be the case with the Excel file?)
a) Treating all years divisible by 100 as leap years.
b) Failing to treat years divisible by 400 as leap years.
c) Counting too few, or too many, days due to misusing endpoints. For example,
-- 1 day since midnight 01 Jan is 02 Jan, not 01 Jan.
-- The 20th - 24th inclusive represent 5, not 24-20 = 4 days... etc.
I hope this helps,
Brady