Re: [php-list] date() & timezone

2005-05-13 Thread Patrick Bierans
> http://php.inspire.net.nz/manual/en/function.gmdate.php Which equals http://php.net/gmdate ;) Take a look at the documentation. If you know and unterstand most of this fantastic php manual with the helpful user contributed notes but you still can't get it working after some attempts ask us

Re: [php-list] date() & timezone

2005-05-13 Thread Gordon Stewart
On 5/13/05, Riquez <[EMAIL PROTECTED]> wrote: > Strangely, if i run a phpinfo() under the Apache Environ. section it > says TZ: GMT > But clearly that is wrong as date("Y-m-d H:i"); is returning GMT-5 > > Any ideas? http://php.inspire.net.nz/manual/en/function.gmdate.php -- G Stewart NZ: [EM

[php-list] date() & timezone

2005-05-13 Thread Riquez
I've moved one of my sites to a new server & the server's native time is in a different timezone to me. It's 5 hours behind GMT. Is there an easy way to change the timezone to GMT? Perhaps using ini_set() or .htaccess? Strangely, if i run a phpinfo() under the Apache Environ. section it say