Giter Club home page Giter Club logo

Comments (1)

qntm avatar qntm commented on July 19, 2024

Computing the "next float" in JavaScript is kind of difficult, but after crunching some numbers by hand, here's a full listing of the values which should be used:

1961-01-01 00:00:01.422818000 = - 283996798577.18195
1961-08-01 00:00:01.647570000 = - 265679998352.43
1962-01-01 00:00:01.845858000 = - 252460798154.142
1963-11-01 00:00:02.697278800 = - 194659197302.7212
1964-01-01 00:00:02.765794000 = - 189388797234.206
1964-04-01 00:00:02.983730000 = - 181526397016.27
1964-09-01 00:00:03.282018000 = - 168307196717.982
1965-01-01 00:00:03.540130000 = - 157766396459.87
1965-03-01 00:00:03.716594000 = - 152668796283.40598
1965-07-01 00:00:03.974706000 = - 142127996025.29398
1965-09-01 00:00:04.155058000 = - 136771195844.94199
1966-01-01 00:00:04.313170000 = - 126230395686.82999
1968-02-01 00:00:06.185682000 = -  60479993814.31799
1972-01-01 00:00:10.000000000 =    63072010000
1972-07-01 00:00:11.000000000 =    78796811000
1973-01-01 00:00:12.000000000 =    94694412000
1974-01-01 00:00:13.000000000 =   126230413000
1975-01-01 00:00:14.000000000 =   157766414000
1976-01-01 00:00:15.000000000 =   189302415000
1977-01-01 00:00:16.000000000 =   220924816000
1978-01-01 00:00:17.000000000 =   252460817000
1979-01-01 00:00:18.000000000 =   283996818000
1980-01-01 00:00:19.000000000 =   315532819000
1981-07-01 00:00:20.000000000 =   362793620000
1982-07-01 00:00:21.000000000 =   394329621000
1983-07-01 00:00:22.000000000 =   425865622000
1985-07-01 00:00:23.000000000 =   489024023000
1988-01-01 00:00:24.000000000 =   567993624000
1990-01-01 00:00:25.000000000 =   631152025000
1991-01-01 00:00:26.000000000 =   662688026000
1992-07-01 00:00:27.000000000 =   709948827000
1993-07-01 00:00:28.000000000 =   741484828000
1994-07-01 00:00:29.000000000 =   773020829000
1996-01-01 00:00:30.000000000 =   820454430000
1997-07-01 00:00:31.000000000 =   867715231000
1999-01-01 00:00:32.000000000 =   915148832000
2006-01-01 00:00:33.000000000 =  1136073633000
2009-01-01 00:00:34.000000000 =  1230768034000
2012-07-01 00:00:35.000000000 =  1341100835000
2015-07-01 00:00:36.000000000 =  1435708836000
2017-01-01 00:00:37.000000000 =  1483228837000

from t-a-i.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.