downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<date_timezone_getdate>
Last updated: Thu, 26 Jun 2008

date_timezone_set

(PHP 5 >= 5.1.0)

date_timezone_set — Sets the time zone for the DateTime object

Description

void date_timezone_set ( DateTime $object , DateTimeZone $timezone )
void DateTime::setTimezone ( DateTimeZone $timezone )

Parameters

object

DateTime object.

timezone

Desired time zone.

Return Values

Returns NULL on success or FALSE on failure.



add a noteadd a note User Contributed Notes
Sets the time zone for the DateTime object
There are no user contributed notes for this page.




<date_timezone_getdate>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs