Skip to main content
Module

x/simple_utility/src/time.ts>unixtimeDecode

A handy utility collection.
Go to Latest
function unixtimeDecode
import { unixtimeDecode } from "https://deno.land/x/simple_utility@v0.2.2/src/time.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.