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

Function increaseTimeToDate

CLI/commands/helpers/time.js:84–87  ·  view source on GitHub ↗
(date)

Source from the content-addressed store, hash-verified

82}
83
84function increaseTimeToDate(date) {
85 var toDate = moment(date, ['MM-DD-YYYY', 'MM-DD-YYYY HH:mm:ss']);
86 return increaseTimeByDate(toDate);
87}
88
89function increaseTimeToEpochDate(epochDate) {
90 var toTime = moment.unix(epochDate);

Callers

nothing calls this directly

Calls 1

increaseTimeByDateFunction · 0.85

Tested by

no test coverage detected