DateTime::setTimestamp
(PHP 5 >= 5.3.0)
DateTime::setTimestamp — Sets the date and time based on an Unix timestamp
Описание
public DateTime DateTime::setTimestamp
(
int $unixtimestamp
)
Список параметров
-
unixtimestamp
-
Unix timestamp representing the date.
Возвращаемые значения
Returns the modified DateTime.