Re: new DateTimeZone and html encoding [message #172830 is a reply to message #172827] |
Fri, 04 March 2011 09:20 |
Erwin Moller
Messages: 228 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 3/4/2011 9:39 AM, polilop wrote:
> when trying to do this :
> $oldTZone= new DateTimeZone("Pacific Time (US & Canada");
> or
> $oldTZone=timezone_open("Pacific Time (US & Canada")
> i get
> Unknown or bad timezone (Pacific Time (US & Canada))
>
> it seems that it encodes the &. How can i disable it from doing so?
>
Hi,
Are you asking how to get rig of the & and get a &, or are you
asking why you get an error on DateTimeZone?
Regards,
Erwin Moller
--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
|
|
|