PHP 5.4.31 Released

DateTimeImmutable::setTimestamp

(PHP 5 >= 5.5.0)

DateTimeImmutable::setTimestampDéfinit la date et l'heure basé sur un timestamp Unix

Description

public DateTimeImmutable DateTimeImmutable::setTimestamp ( int $unixtimestamp )

Identique à DateTime::setTimestamp() mais fonctionne avec DateTimeImmutable.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top