Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function default
import { default } from "https://deno.land/x/date_fns@v2.0.0-alpha.28/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