MCPcopy Index your code
hub / github.com/csev/py4e / currentDateArray

Function currentDateArray

code/gmane/Chart.bundle.js:2639–2645  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

2637 }
2638
2639 function currentDateArray(config) {
2640 var now = new Date();
2641 if (config._useUTC) {
2642 return [now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate()];
2643 }
2644 return [now.getFullYear(), now.getMonth(), now.getDate()];
2645 }
2646
2647 // convert an array to a date.
2648 // the array should mirror the parameters below

Callers 1

configFromArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected