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, 27 Jun 2008

view this page in

date_time_set

(PHP 5 >= 5.1.0)

date_time_set — Sets the time

Description

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

Parameters

object

DateTime object.

hour

Hour of the time.

minute

Minute of the time.

second

Second of the time.

Return Values

Returns NULL on success or FALSE on failure.

See Also



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, 27 Jun 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites