Data/Czas
PHP Manual

date_date_set

(PHP 5 >= 5.1.0)

date_date_setSets the date

Opis

void date_date_set ( DateTime $object , int $year , int $month , int $day )
void DateTime::setDate ( int $year , int $month , int $day )

Parametry

object

DateTime object.

year

Year of the date.

month

Month of the date.

day

Day of the date.

Zwracane wartości

Returns NULL on success or FALSE on failure.

Patrz także


Data/Czas
PHP Manual