MCPcopy Create free account
hub / github.com/Milkyroad/SCiPNET / time

Function time

public/src/js/sideBar.js:58–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 };
57
58 function time() {
59 var d = new Date();
60 var s = d.getSeconds();
61 var m = d.getMinutes();
62 var h = d.getHours();
63 span.textContent =
64 ("0" + h).substr(-2) + ":" + ("0" + m).substr(-2) + ":" + ("0" + s).substr(-2);
65 }
66 setInterval(time, 1000);
67 setInterval(function() {
68 change('#', 'usage', 60, 70, "%")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected