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

Function timeDifference

test/helpers/utils.js:14–17  ·  view source on GitHub ↗
(timestamp1, timestamp2)

Source from the content-addressed store, hash-verified

12}
13
14async function timeDifference(timestamp1, timestamp2) {
15 var difference = timestamp1 - timestamp2;
16 return difference;
17}
18
19function convertHex(hexx) {
20 var hex = hexx.toString(); //force conversion

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected