ID: 15815 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Date/time related Operating System: FreeBSD 4.2 PHP Version: 4.0.6 New Comment:
GMT, the server is in england. The date() return good time except for some minutes per day. There is no logic, sometimes at 08:45:16, sometimes at 14:13:08 ... when the date() bug, 8 hours is added. This is crazy. Previous Comments: ------------------------------------------------------------------------ [2002-03-01 12:10:12] [EMAIL PROTECTED] What is your timezone offset? date() doesn't use GMT if you're in another timezone. Maybe your shell does use GMT (mine doesn't, but I'm on linux...) ------------------------------------------------------------------------ [2002-03-01 12:05:56] [EMAIL PROTECTED] Shifting time. Sometimes the function date() return a bad time. Below some examples: server time= from date in shell response time = from function date() in php. Server time: 15:41:16 response time:00:41:16 (21 february) Server time: 16:12:16 response time:01:12:16 (21 february) Server time: 16:25:16 response time:01:25:16 (21 february) Server time: 17:04:16 response time:02:04:16 (21 february) Server time: 17:56:16 response time:02:56:16 (21 february) Server time: 18:57:16 response time:03:57:16 (21 february) More information: System FreeBSD make2.plesk.ru 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386 Build Date Oct 11 2001 Configure Command './configure' '--with-apxs=apxs' '--prefix=/usr/home/kap/plesk/2.0/apache/../release/usr/local/psa/apache' 'i386--freebsd4.2' '--with-system-regex' '--with-config-file-path=/usr/local/psa/apache/conf' '--disable-debug' '--disable-pear' '--enable-sockets' '--enable-track-vars' '--without-gd' '--with-mysql=/usr/home/kap/plesk/2.0/apache/../release/dist/usr/local/psa/mysql' '--with-iodbc=/usr/home/kap/plesk/2.0/apache/../release/lib/libiodbc' '--with-imap=/usr/home/kap/plesk/2.0/apache/../release/lib/imap-cclient' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/psa/apache/conf/php.ini ZEND_DEBUG disabled Thread Safety disabled Geoffrey. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15815&edit=1
