import { extractTime } from "https://deno.land/x/polkadot@0.2.17/util/mod.ts";
Examples
import { extractTime } from 'https://deno.land/x/polkadot@0.2.17/util/mod.ts';
const { days, minutes, hours, seconds, milliseconds } = extractTime(6000); // 0, 0, 10, 0, 0