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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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!

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: Thu May 23 04:01:32 2024 UTC