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

Function addMonths

test/x_scheduled_checkpoints.js:804–807  ·  view source on GitHub ↗
(timestamp, months)

Source from the content-addressed store, hash-verified

802}
803
804function addMonths(timestamp, months) {
805 let time = new Date(timestamp * 1000);
806 return time.setUTCMonth(time.getUTCMonth() + months) / 1000;
807}
808
809function addYears(timestamp, years) {
810 let time = new Date(timestamp * 1000);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected