in the date section, there's a bit that says "Timezone Database Version" and that number is in the format of a date: yyyy:mm

On 29/09/10 09:45, Brendan Brink wrote:
thanks for that Rimu,

cant seem to find the value in phpinfo - can you advise the setting I
am looking for?

also how can I set the timezone in PHP to the correct one

On Wed, Sep 29, 2010 at 9:35 AM, Rimu Atkinson<rimuatkin...@gmail.com>  wrote:
There is an internal database that php has of when different places have
daylight savings time, and yours is probably out of date. Look at the output
of phpinfo() to see the date of the time zone database.

R

On 29/09/10 09:26, Brendan Brink wrote:

Hi there all,

Had an issue on the weekend with some code showing the date Saturday
25th instead of the Sunday 26th...and only thing I can put it down to
is a possible daylight saving conundrum...

some of the code I had was this:
define("WEEKENDING",strtotime("next Sunday"));


wonder if anyone else had had a similar finding or perhaps can shed
some light on how daylight saving works with PHP...


--
Phone (04) 381 4827 or 021 823 129
Skype rimu123
Web http://rimu.geek.nz/

--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to nzphpug@googlegroups.com
To unsubscribe, send email to
nzphpug+unsubscr...@googlegroups.com

--
Phone (04) 381 4827 or 021 823 129
Skype rimu123
Web http://rimu.geek.nz/

--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to nzphpug@googlegroups.com
To unsubscribe, send email to
nzphpug+unsubscr...@googlegroups.com

Reply via email to