From: [EMAIL PROTECTED]
Operating system:
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: gmtime() function would be nice
It would be great to have a gmtime() function, just like the other "gm"
time functions.
Currently, we use something to the effect of:
function gmtime()
{
$t = time();
$gm_time = gmdate('D M
',$t).sprintf('%2d',(int)gmdate('d',$t)).gmdate(' H:i:s Y',$t);
return strtotime($gm_time);
}
--
Edit bug report at: http://bugs.php.net/?id=14043&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]