php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2444 gmmktime(0,0,0,1,1,1970) gives incorrect result.
Submitted: 1999-10-05 05:38 UTC Modified: 1999-10-08 00:24 UTC
From: Anders dot Gytri at elkraft dot ntnu dot no Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.12 OS: FreeBSD 3.2-RELEASE
Private report: No CVE-ID: None
 [1999-10-05 05:38 UTC] Anders dot Gytri at elkraft dot ntnu dot no
gmmktime(0,0,0,1,1,1970) gives the result -3600
This can be demonstrated by the following code:

<html>
<body>

<?php
echo gmmktime(0,0,0,1,1,1970);
?>

</body>
</html>

./configure --with-mysql --with-apache=../apache_1.3.9 --enable-track-vars

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-08 00:24 UTC] jah at cvs dot php dot net
Fixed.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 17:00:01 2026 UTC