Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

141
Views
Javascript handle big date (dates that has a year higher than the math max int)

I am trying to do a javascript code that is able to handle huge dates. The date year might be higher than the max possible int.

I don't need hour, minutes, second and milliseconds from the current javascript Date object, just number of days.

I have been searching for libraries which might offer this possibility but I did not found any :(

I also looked at this answer: How to use Date in Javascript for prehistoric dates?

But I would like the solution to work with future dates also. And some past dates might be bigger than the big bang

I hope that someone can help me with this issue :)

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!