Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I have a ubuntu server on aws, and when I do new Date().getTime() on the server the time seems a bit off (a couple of minutes).
new Date().getTime()
How do I get it to be more accurate.
sudo apt-get install ntp
有关更多信息,请参阅文档。