update : 2015.11.03
php.shukuma.com

검색:
 
 
Sets the date and time based on an Unix timestamp

DateTimeImmutable::setTimestamp

(PHP 5 >= 5.5.0, PHP 7)

DateTimeImmutable::setTimestampSets the date and time based on an Unix timestamp

설명

public DateTimeImmutable DateTimeImmutable::setTimestamp ( int $unixtimestamp )

Like DateTime::setTimestamp() but works with DateTimeImmutable.