Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

fromUnixTime

import { fromUnixTime } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";
@example
// Create the date 29 February 2012 11:45:05:
const result = fromUnixTime(1330515905)
//=> Wed Feb 29 2012 11:45:05
function fromUnixTime(unixTime: number): Date;
§
fromUnixTime(unixTime: number): Date
[src]

§Parameters

§
unixTime: number
[src]
  • The given Unix timestamp (in seconds)

§Return Type

§
Date
[src]

The date