Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/simple_utility/src/date.ts>dateDecode

A handy utility collection.
Go to Latest
function dateDecode
import { dateDecode } from "https://deno.land/x/simple_utility@v0.0.3/src/date.ts";

Since the unixtime that can be handled by the Date is in milliseconds, the argument of this method is internally multiplied by x1000.

Parameters

time: number

unixtime in seconds.