php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4478 date() returns false result
Submitted: 2000-05-17 10:11 UTC Modified: 2000-07-30 14:25 UTC
From: sebastian dot bergmann at web dot de Assigned: zak (profile)
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Release Candidate 2 OS: Windows 2000
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sebastian dot bergmann at web dot de
New email:
PHP Version: OS:

 

 [2000-05-17 10:11 UTC] sebastian dot bergmann at web dot de
The following code-fragment always give the same date, some first of January in the 1970s:

<?php
  print "This site was last updated: " . 
  date( "D m/d/Y h:i:s a", 
  filemtime( $PATH_TRANSLATED ) );
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-09 14:16 UTC] stas at cvs dot php dot net
is there in $PATH_TRANSLATED right filename?
 [2000-07-26 00:04 UTC] zak@php.net
User contacted over a month ago.
I will test this on a Win2k machine asap.
 [2000-07-30 14:25 UTC] zak@php.net
Cannot reproduce with current release.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 21:00:01 2026 UTC