Data/Czas
PHP Manual

date_time_set

(PHP 5 >= 5.1.0)

date_time_setSets the time

Opis

void date_time_set ( DateTime $object , int $hour , int $minute [, int $second ] )
void DateTime::setTime ( int $hour , int $minute [, int $second ] )

Parametry

object

DateTime object.

hour

Hour of the time.

minute

Minute of the time.

second

Second of the time.

Zwracane wartości

Returns NULL on success or FALSE on failure.

Patrz także


Data/Czas
PHP Manual