Sorry if the question is written poorly, I'll do my best to explain better here.
For a project I'm working on, I'm defining a new unit of time, based upon the time it takes for a complete revolution of the earth about the sun. That takes somewhere between 31,470,762.377 and 31,556,926.08 seconds, roughly. I want my unit to equal 0.31470 ~ 0.31557 seconds. I'm unsure how to scale this up, however. I do want it to be more consistent across the board, however. So in the new system,
- 100 s = 1 min
- 100 min = 1 hr
- 10 hr = 1 day
- 100 days = 1 month
- 10 months = 1 year
That means overall, there will be 100*100*10*100*10 (or 100,000,000) of my seconds in a year. And that matches up, since $100,000,000\text{ my seconds }\times 0.31557\frac{\text{regular seconds}}{\text{my seconds}}$ is equal to $31,557,000$ regular seconds. So theoretically, I should be able to multiply the number of seconds in an interval by 0.31556 to get an approximation of the time in my system. And, because of the nature of my system, the product will be the concatenation of YYYY:M:DD H:MM:SS. Testing this against one year, I get 1,000,000. Therefore, the form of my number is YYY,YMd,dhm.mss.
Okay, so let me scale it up to 01/01/2017, from 01/01/0001. That's exactly 2017 years, so I expect to get 2,017,000,000. But nope, I get 20,072,764,884.7236, or 20072 years (accounting for leap years, I get 20,086,506,537.5267). I'm very confused why this isn't working as I expect it to. I'm sure that I'm missing something obvious, but after mulling for a few hours, I cannot figure it out.
And for the record, I'm not rounding between calculations or changing steps. The only thing I do differently is multiply 31,556,926.08 by 2017.
Any ideas or thoughts?