MCPcopy Create free account
hub / github.com/IceClusters/icmysql / GetTime

Function GetTime

src/utils/Time.js:6–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4}
5
6function GetTime() {
7 const currentDate = new Date();
8 return `${String(currentDate.getHours()).padStart(2, '0')}:${String(currentDate.getMinutes()).padStart(2, '0')}:${String(currentDate.getSeconds()).padStart(2, '0')}`;;
9}
10
11function GetTimeDate() {
12 return `${GetDate()}_${GetTime()}`;

Callers 2

GetTimeDateFunction · 0.85
LogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected