MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / getTime

Method getTime

daily/ddsy.js:51–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 return crypto.createHash('md5').update(s).digest('hex');
50 }
51 getTime() {
52 var now = new Date();
53 var year = now.getFullYear()
54 , month = now.getMonth() + 1
55 , day = now.getDate()
56 , hours = now.getHours()
57 , minutes = now.getMinutes()
58 , seconds = now.getSeconds();
59 return year + '-' + month + '-' + day + ' ' + hours + ':' + minutes + ':' + seconds;
60 }
61 getSignDay() {
62 var now = new Date();
63 var year = now.getFullYear()

Callers 15

getSignInIdMethod · 0.95
signMethod · 0.95
ts10Function · 0.80
constructorMethod · 0.80
doneMethod · 0.80
constructorMethod · 0.80
doneMethod · 0.80
ts13Function · 0.80
constructorMethod · 0.80
doneMethod · 0.80
constructorMethod · 0.80
timeStampMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected