(PHP 5 >= 5.3.0)
DateTime::setTimestamp — Sets the date and time based on an Unix timestamp
Beschreibung
public DateTime DateTime::setTimestamp
(
int $unixtimestamp
)
Parameter-Liste
-
unixtimestamp
-
Unix timestamp representing the date.
Rückgabewerte
Returns the modified DateTime.