Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function default
import { default } from "https://deno.land/x/date_fns@v2.0.0-beta.4/fromUnixTime/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