PHP date.timezone

1,800 views
Skip to first unread message

Mike Spellman

unread,
Oct 2, 2007, 5:57:42 PM10/2/07
to nzp...@googlegroups.com

Morning All.

 

I am trying to get to http://www.php.net/manual/en/timezones.php but it’s not available.

 

I am editing php.ini to correct the time zones since the recent change to NZDST

In the line date.timezone=     what is the correct PHP name for New Zealand?

 

 

Mike Spellman

 

Senior Engineer

Interactive  Entertaiment Services   ( I.E.S.)

09 5802 819

 

James McGlinn

unread,
Oct 2, 2007, 4:59:05 PM10/2/07
to nzp...@googlegroups.com
Hi Mike,

I am editing php.ini to correct the time zones since the recent change to NZDST
In the line date.timezone=     what is the correct PHP name for New Zealand?

Pacific/Auckland should do the trick.


Kind Regards,
James McGlinn
__________________________________
Eventfinder Limited
PO Box 5103, Wellesley St, Auckland, New Zealand
Phone: 021 633 234



Julian Melville

unread,
Oct 2, 2007, 4:59:11 PM10/2/07
to nzp...@googlegroups.com
> I am editing php.ini to correct the time zones since the recent change
> to NZDST In the line date.timezone=
> what is the correct PHP name for New Zealand?

Pacific/Auckland

Cheers,

Julian.

Cameron Junge

unread,
Oct 2, 2007, 5:00:46 PM10/2/07
to nzp...@googlegroups.com

http://nz.php.net/manual/en/timezones.pacific.php

 

Pacific/Auckland seems to be the closest

 


James McGlinn

unread,
Oct 2, 2007, 5:04:02 PM10/2/07
to nzp...@googlegroups.com
Hi Mike,


I am editing php.ini to correct the time zones since the recent change to NZDST
In the line date.timezone=     what is the correct PHP name for New Zealand?

Keep in mind you'll need the updated tzinfo data too - it comes with 5.2.4.  I'm assuming you read the thread about the issue on Monday.
Reply all
Reply to author
Forward
0 new messages