php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3808 probably y2k problem
Submitted: 2000-03-11 09:01 UTC Modified: 2000-04-01 23:45 UTC
From: roman at management dot cz Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.15 OS: SuSE Linux 6.1 / Windows 2000 RC
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: roman at management dot cz
New email:
PHP Version: OS:

 

 [2000-03-11 09:01 UTC] roman at management dot cz
$datum = date("d.m.Y H:i:s",time);
echo $datum;

this will print 01.01.1970 01:00:00 and my date on the system is March 11, 2000

I tried this on 3 diferent computers with diferent operating systems.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-01 23:45 UTC] sas at cvs dot php dot net
It's time(), not time.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jul 14 12:00:01 2026 UTC