days-between-dates Solver equation for 17b
|
10-06-2018, 02:06 PM
(This post was last modified: 10-07-2018 02:52 PM by Albert Chan.)
Post: #5
|
|||
|
|||
RE: days-between-dates Solver equation for 17b
Hi, Don Shepherd
Thanks for the DBD algorithm link: https://alcor.concordia.ca/~gpkatch/gdat...rithm.html Gary Katch also explain why it work: https://alcor.concordia.ca/~gpkatch/gdate-method.html Based on the explanation, the day number calculation (and its inverse) are only limited by machine precision. My old day function, using system time, only work for 1970 to 2038. I coded above in Lua (using IEEE double). Now it can reach 24 trillion years ! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)