php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7106 Internet time invalid
Submitted: 2000-10-09 19:48 UTC Modified: 2001-01-10 01:49 UTC
From: Theo dot Schoeberl at tssystems dot de Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.0.2 OS: Windows NT 4.0 SP6a
Private report: No CVE-ID: None
 [2000-10-09 19:48 UTC] Theo dot Schoeberl at tssystems dot de
Dear Sirs,

the following script:

<?php   
   echo ("<hr noshade align=left>\n");
   echo ("Created on demand for ");
   echo ($REMOTE_ADDR."(");
   echo (gethostbyaddr($REMOTE_ADDR).")");
   echo (" at ");
   echo (date("d.m.Y, H:i:s")." [");
   echo ("<b><a style=\"color: black;\" href=\"http://www.swatch.com/internettime/beatnik_fs_watches.html\"");
   echo ("  Target=\"_blank\"");
   echo ("  onMouseOver=\"flag('Internet Time');return true;\""); 
   echo (" onMouseOut=\"nd();return true;\"");
   echo (">@".date("B"));
   echo ("</a></b>]<br><br>");?>

produces the following output:

Created on demand for 62.132.129.140(WRKNT1SHB) at 10.10.2000, 01:43:12 [@000]

The internet time is not the right one at the moment (German time).

Best regards,

Theo Sch?berl

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-09 20:02 UTC] Theo dot Schoeberl at tssystems dot de
Hello again,

after two o'clock the time is o.k.!

Created on demand for 62.132.129.140(WRKNT1SHB) at 10.10.2000, 02:00:17 [@041]

 [2001-01-10 01:49 UTC] david@php.net
this should be fixed now in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 14:01:31 2024 UTC