Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Useful-Scripts-Extension/useful-script
/ getToday
Function
getToday
scripts/web_timer.js:472–474 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
470
}
471
472
function
getToday() {
473
return
formatDate(
new
Date());
474
}
475
476
function
formatDate(date) {
477
let
year = date.getFullYear();
Callers
1
getTodayTimer
Function · 0.85
Calls
1
formatDate
Function · 0.70
Tested by
no test coverage detected