MCPcopy Create free account
hub / github.com/Tencent/QMUI_Web / getCurrentTime

Method getCurrentTime

workflow/TimeFormat.js:23–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 getCurrentTime() {
24 const time = new Date();
25 return `${this.checkDateFormat(time.getHours())}:${this.checkDateFormat(time.getMinutes())}:${this.checkDateFormat(time.getSeconds())}`;
26 }
27}
28
29module.exports = TimeFormat;

Callers 2

proxy.jsFile · 0.80
server.jsFile · 0.80

Calls 1

checkDateFormatMethod · 0.95

Tested by

no test coverage detected