-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new Date gives wrong datetime by ~17 seconds compared to system time #2375
Comments
What does |
Sorry, seems that |
@cjh9 Yes, I would guess it’s an issue with your system’s setup, in some way. |
@cjh9 What you're seeing is not unexpected. Most hardware clocks have considerable drift, they gain or lose time over, er, time. The operating system normally adjusts the reported time automatically, that's probably why you're seeing a discrepancy between the two. Try installing ntpdate(1), that should keep them in sync (mostly - they might still disagree by a few seconds every once in a while until they're synchronized again.) |
ping - @cjh9 , is this still an issue? |
inactive. closing!! |
Version:
node -v v13.5.0
Platform:
Ubuntu 18.04.3 LTS (Digital ocean server)
4.15.0-70-generic Mani node#79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Ssh:ing in having two terminal windows open simultaneously, opening node in one:
(this is the correct time)
In node:
Seems to be lagging behind by 18 seconds?
The text was updated successfully, but these errors were encountered: