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

x/date_fns/index.js>fromUnixTime

date-fns Deno package
Very Popular
Go to Latest
function fromUnixTime
import { fromUnixTime } from "https://deno.land/x/date_fns@v2.0.0-beta.2/index.js";

Examples

// Create the date 29 February 2012 11:45:05: var result = fromUnixTime(1330515905) //=> Wed Feb 29 2012 11:45:05

Parameters

dirtyUnixTime
  • the given Unix timestamp