date.toISOString(googleid.);
Hora do systemid.
-15736873793497695116?hl=pt-BR
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "http://www.timeapi.org/utc/now.json?callback=setDtServer";
year: "numeric",
month: "numeric",
day: "numeric",
hour: "numeric",
minute: "numeric",
second: "numeric",
timeZoneName: "long"
});
function getData() {
var diff = dtServer.getTime() - dtClient.getTime();
var data = new Date();
data.setTime(data.getTime() + diff);
return data;
}
function setDtServer(json) {
dtServer = new Date(json.dateString);
dtClient = new Date();
document.head.removeChild(script);
}
document.head.appendChild(script);
window.setInterval(function () {
var data = getData();
console.log(formater.format(data));
}, 1234);