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

206
Views
How can I force Javascript to sync Date.now() to the system clock

I have a Javascript application running on a server that is referencing Date.now() from a Worker thread.

When the system clock on the machine changes I have a (non-JS) application that notices this and accounts for the change.

But the Javascript app takes a long time (circa seconds) before Date.now() starts reporting the changed system clock.

How can I force the Date.now() to reset itself when the app becomes aware of the system clock change?

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!