MCPcopy Create free account
hub / github.com/microsoft/SandDance / formatUTCYearISO

Function formatUTCYearISO

docs/app/js/sanddance-app.js:112827–112830  ·  view source on GitHub ↗
(d, p)

Source from the content-addressed store, hash-verified

112825 return pad(d.getUTCFullYear() % 100, p, 2);
112826}
112827function formatUTCYearISO(d, p) {
112828 d = UTCdISO(d);
112829 return pad(d.getUTCFullYear() % 100, p, 2);
112830}
112831function formatUTCFullYear(d, p) {
112832 return pad(d.getUTCFullYear() % 10000, p, 4);
112833}

Callers

nothing calls this directly

Calls 2

UTCdISOFunction · 0.70
padFunction · 0.70

Tested by

no test coverage detected