MCPcopy Index your code
hub / github.com/socketstream/socketstream / timestamp

Function timestamp

new_project/client/code/app/app.demo.js:47–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45// Private functions
46
47function timestamp() {
48 var d = new Date();
49 return d.getHours() + ':' + pad2(d.getMinutes()) + ':' + pad2(d.getSeconds());
50}
51
52function pad2(number) {
53 return (number < 10 ? '0' : '') + number;

Callers 1

app.demo.jsFile · 0.85

Calls 1

pad2Function · 0.85

Tested by

no test coverage detected