MCPcopy Create free account
hub / github.com/PolymathNetwork/polymath-core / setDate

Function setDate

test/x_scheduled_checkpoints.js:789–793  ·  view source on GitHub ↗
(time, month, day)

Source from the content-addressed store, hash-verified

787});
788
789function setDate(time, month, day) {
790 let startDate = new Date(time * 1000);
791 startDate.setUTCMonth(month, day);
792 return startDate.getTime() / 1000;
793}
794
795function addDays(timestamp, days) {
796 let time = new Date(timestamp * 1000);

Callers 1

getEndOfFebruaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected