|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #11878 __DATE__ /__TIME__ constants
Submitted: 2001-07-04 09:51 UTC Modified: 2002-04-27 15:38 UTC
From: hparissi at laposte dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.6 OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: hparissi at laposte dot net
New email:
PHP Version: OS:


 [2001-07-04 09:51 UTC] hparissi at laposte dot net
Could it be possible to add __DATE__ and __TIME__ 
constants ?
They could containt the last modified date/time of the 
calling script.

Thank you for your great job!


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-04 17:07 UTC]
What's wrong with using filemtime(__FILE__) ?

You can also use fileatime() and filectime().
 [2002-04-27 15:38 UTC]
or getlastmod().
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 05 05:01:29 2024 UTC