php.net |  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
25 - 6 = ?
Subscribe to this entry?

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

You can also use fileatime() and filectime().
 [2002-04-27 15:38 UTC] jimw@php.net
or getlastmod().
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 08:01:27 2024 UTC