DateTimeZone::__construct Creates new DateTimeZone object &reftitle.description; DateTimeZone::__construct stringtimezone Creates new DateTimeZone object. &reftitle.parameters; timezone One of timezones. &reftitle.returnvalues; Returns DateTimeZone on success. &reftitle.errors; This method throws Exception if the timezone supplied is not recognised as a valid timezone. &reftitle.examples; Catching errors when instantiating <classname>DateTimeZone</classname> getMessage() . '
'; } } ?> ]]>
&example.outputs;