Jochem Maas escribió:
Martin Marques schreef:
Nathan Nobbe escribió:
On Feb 6, 2008 6:13 AM, Martin Marques <[EMAIL PROTECTED]> wrote:

I got an update from tzdata on a Debian server due to a daylight saving
change here in Argentina.

I doubt that debian stable is pushing newer versions of TZ db, than that found in
php ... you don't mention your php version btw.

The tzdata was from volatile.

# php -v
PHP 5.2.0-8+etch10 (cli) (built: Jan 18 2008 18:52:58)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies



The problem is that, even when the system sees the correct time, php
keeps giving me the *old* hour.

$ date
mié feb  6 09:03:57 ARST 2008
$ echo "<?php echo date('H:i') . \"\n\"; ?>"|php5
08:04

What can my problem be?

what timezone does php think it's in? - output all stuff from date,
not just hour:minutes.

Already solved it. I installed timezonedb from pecl.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to