ID: 16266 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: Linux 2.4.2-2 i686 PHP Version: 4.1.1 New Comment:
D'oh! So it was my expectations that were broken, not the function. Thanks to Brian Foddy for pointing out that Unix Epoch is seconds since Jan 1 1970, GMT so timezone is meaningless and date/gmdate are equivalent with 'U'. Previous Comments: ------------------------------------------------------------------------ [2002-03-25 14:06:40] [EMAIL PROTECTED] The gmdate() function returns the system's local time when used with the 'U' format option. I've reproduced this on a couple of Linux systems (2.4.2 and 2.4.7 i686 systems). Both of them function correctly when 'date' is called from the command line. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16266&edit=1
