|
DateTimeImmutable::createFromTimestampCreates an instance from a Unix timestamp Description
public static static DateTimeImmutable::createFromTimestamp(intfloat
$timestamp)Creates an instance from a Unix timestamp. Parameters
Return ValuesReturns a new DateTimeImmutable instance. Errors/Exceptions
If the ExamplesExample #1 DateTimeImmutable::createFromTimestamp example The above example will output: 1970-01-01 00:02:03.456789 |