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

Function getTimeString

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

Source from the content-addressed store, hash-verified

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")}`
8}
9
10function getDateTimeString(date) {
11 return `${getDateString(date)}${getTimeString(date)}`

Callers 1

getDateTimeStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected