]|V|[agnus
10-11-2004, 02:14 AM
The folloing code:
<?php echo gmdate("g:i a j M Y",SI_getFirstHit()+(((gmdate('I'))?($tz_offset+1):$tz_offset)*3600)); ?>
generates the following error on an IIS server:
Warning: gmdate(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970
Does anybody know how I could modify that to get around this, and also why this error occurs?
<?php echo gmdate("g:i a j M Y",SI_getFirstHit()+(((gmdate('I'))?($tz_offset+1):$tz_offset)*3600)); ?>
generates the following error on an IIS server:
Warning: gmdate(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970
Does anybody know how I could modify that to get around this, and also why this error occurs?