Answer the question
In order to leave comments, you need to log in
Sync time on ubuntu, is it the same?
There are 2 VDS, different companies, assemblies. Both on ubuntu 18.04. On both running node js + function I give the time to the node console:
function getDateTime() {
var date = new Date();
console.log(date.getHours() + ':' + date.getMinutes() + ':' + date.getSeconds() + ':' + date.getMilliseconds())
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question