MCPcopy Create free account
hub / github.com/circircir-circle/human_exist_device / getCurrentTime

Method getCurrentTime

mini_program/common/Tools.js:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 getCurrentTime() {
31 const date = new Date();
32 const hour = date.getHours()
33 const minute = date.getMinutes()
34 return [hour, minute].join(':')
35 }
36
37 /**
38 * 返回指定范围内的一个整数

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected