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

x/simple_utility/src/pure/time.ts>utDecode

Simplify processing for Deno.
Go to Latest
function utDecode
import { utDecode } from "https://deno.land/x/simple_utility@v2.0.9/src/pure/time.ts";

Date from UNIX time. Note that in seconds not milliseconds.

Examples

Example 1

const time = utEncode();
const date = utDecode(time);

Parameters

time: number