php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9350 Internet Time Incorect
Submitted: 2001-02-20 02:37 UTC Modified: 2001-02-20 02:39 UTC
From: swilliams at eangulus dot com Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.0.4pl1 OS: Windows 2000 (IIS5)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: swilliams at eangulus dot com
New email:
PHP Version: OS:

 

 [2001-02-20 02:37 UTC] swilliams at eangulus dot com
I used this script:

<?
$ServerTime = time();

$SerTime = date('g:i:s a',$ServerTime);
$SerLongDate = date('l, dS F Y',$ServerTime);
$SerBeat = date("@B",$ServerTime);

Print "<b>ServerTime:</b> $SerTime<br><b>ServerLongDate:</b> $SerLongDate<br><b>ServerSwatch:</b> $SerBeat<br>";
?>

The internet time shows correctly except for the first hour (or 42 beats)

From @000 onwards it does not count up 001, 002, 003 etc untill 1 hour has passed and it then shows @042.

Is this a bug with PHP or Windows 2000. ALso if it is PHP is it just Win32 or the unix version also.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-20 02:39 UTC] derick@php.net
I think was fixed in CVS, could you try a snapshot from snaps.php.net ans reopen this bugreport when it doesn't solve the problem?
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat May 28 14:05:47 2022 UTC