Method

DateTime::unix

Synopsis

public static DateTime::unix(int, int): Time

Area
Runtime\PS\Time\unixareas

Description

DateTime::unix constructs an instant from seconds and nanoseconds since the Unix epoch.

Usage

$value = DateTime::unix($arguments);
$fn = DateTime::unix(...);

See also