import { decodeTime } from "https://deno.land/std@0.218.0/ulid/mod.ts";
Extracts the timestamp given a ULID.
Examples
Example 1
Example 1
import { ulid, decodeTime } from "https://deno.land/std@0.218.0/ulid/mod.ts";
const x = ulid(150000);
decodeTime(x); // 150000