MCPcopy Create free account
hub / github.com/develop202/migu_video / getDateString

Function getDateString

utils/time.js:2–4  ·  view source on GitHub ↗
(date)

Source from the content-addressed store, hash-verified

1
2function getDateString(date) {
3 return `${date.getFullYear()}${String(date.getMonth() + 1).padStart(2, "0")}${String(date.getDate()).padStart(2, "0")}`
4}
5
6function getTimeString(date) {
7 return `${String(date.getHours()).padStart(2, "0")}${String(date.getMinutes()).padStart(2, "0")}${String(date.getSeconds()).padStart(2, "0")}`

Callers 6

getddCalcuFunction · 0.90
getddCalcu720pFunction · 0.90
updatePEFunction · 0.90
getPlaybackDataFunction · 0.90
updatePlaybackDataByCntvFunction · 0.90
getDateTimeStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected