Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/ulid/mod.ts>decodeTime

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function decodeTime
import { decodeTime } from "https://deno.land/std@0.204.0/ulid/mod.ts";

Extracts the timestamp given a ULID

Parameters

id: string

Returns

number