MCPcopy
hub / github.com/Louiszhai/tool / date2String

Function date2String

js/idCard/idCard.js:42–47  ·  view source on GitHub ↗
(date)

Source from the content-addressed store, hash-verified

40}
41
42function date2String(date) {
43 var year = date.getFullYear(),
44 month = (date.getMonth() + 1 + 100 + '').substr(1),
45 day = (date.getDate() + 100 + '').substr(1);
46 return year + month + day;
47}

Callers 1

verifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…