ID:               21692
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Date/time related
 Operating System: Win2k
 PHP Version:      4.3.0
 New Comment:

both show "Thu 01 Jan, 20:23" for me...

Derick


Previous Comments:
------------------------------------------------------------------------

[2003-01-16 13:22:02] [EMAIL PROTECTED]

gmtime sometimes doesn't support the first argument to be an var. 
Example:
<?php
$var = "D m M, G:i";
// Plus 3600 for Dutch-time
print gmdate($var, time() + 3600);
?> 
Gives at this moment:
Thu 01 Jan, 20:17
--------------------------------
<?php
// Plus 3600 for Dutch-time
print gmdate("D m M, G:i", time() + 3600);
?>
Gives:
Thu 16 Jan, 20:17

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21692&edit=1

Reply via email to