Bug #18424 Updated: results of gmdate("U") and date("U") are not different!

From: Date: Thu, 18 Jul 2002 21:15:14 +0000
Subject: Bug #18424 Updated: results of gmdate("U") and date("U") are not different!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14563@lists.php.net to get a copy of this message
ID: 18424 Updated by: derick@php.net Reported By: kirill_sobaka_mail@rambler.ru -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: Win32 PHP Version: 4.2.1 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php From the manual: # U - seconds since the Unix Epoch (January 1 1970 00:00:00 GMT) That means U always takes the time zone into account. Derick Previous Comments: ------------------------------------------------------------------------ [2002-07-18 17:11:40] kirill_sobaka_mail@rambler.ru Hellow! PHP Script: <?php #the 1 part echo gmdate("H:i d/m/Y") . "\n"; echo date("H:i d/m/Y") . "\n"; #the 2 part echo gmdate("U") . "\n"; echo date("U") . "\n"; ?> please, try it! and you will see, that results in the 2 part not different! Why? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18424&edit=1

« previous php.bugs (#14563) next »