Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
date_timezone_set

date_timezone_set

(PHP 5 >= 5.1.0RC1)

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.