DateTime
PHP Manual

DateTime::setTimestamp

(No version information available, might be only in CVS)

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

Beschreibung

public DateTime DateTime::setTimestamp ( int $unixtimestamp )

Sets the date and time based on an Unix timestamp.

Parameter-Liste

unixtimestamp

Unix timestamp representing the date.

Rückgabewerte

Returns the modified DateTime.

Siehe auch


DateTime
PHP Manual