DateTime
PHP Manual

DateTime::setTimestamp

(PHP 5 >= 5.3.0)

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

Açıklama

public DateTime DateTime::setTimestamp ( int $unixtimestamp )

Sets the date and time based on an Unix timestamp.

Değiştirgeler

unixtimestamp

Unix timestamp representing the date.

Dönen Değerler

Returns the modified DateTime.

Ayrıca Bakınız


DateTime
PHP Manual