Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
47
function
timestamp() {
48
var
d =
new
Date();
49
return
d.getHours() +
':'
+ pad2(d.getMinutes()) +
':'
+ pad2(d.getSeconds());
50
}
51
52
function
pad2(number) {
53
return
(number < 10 ?
'0'
:
''
) + number;
Callers
1
app.demo.js
File · 0.85
Calls
1
pad2
Function · 0.85
Tested by
no test coverage detected