PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

date_timezone_get> <date_sunset
Last updated: Fri, 11 Apr 2008

view this page in

date_time_set

(PHP 5 >= 5.1.0)

date_time_set — Sets the time

Descripción

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

Lista de parámetros

object

DateTime object.

hour

Hour of the time.

minute

Minute of the time.

second

Second of the time.

Valores retornados

Returns NULL on success or FALSE on failure.

Ver también



add a note add a note User Contributed Notes
date_time_set
Rasqual
04-Mar-2008 01:35
This function sets time for the **UTC date** stored in the DateTime object.

date_timezone_get> <date_sunset
Last updated: Fri, 11 Apr 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites