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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 11:01:34 2024 UTC