|
Posted by NC on 04/05/06 19:06
Andy Jeffries wrote:
> On Tue, 04 Apr 2006 20:47:10 -0700, NC wrote:
> >
> > Why bother? Just use the file system functions:
> >
> > $saved_date = date('F j, Y', filectime(__FILE__));
>
> But you probably want to use filemtime not filectime.
You're right... Where was my head? :)
> The date of the last save, not the date the file was created on.
On this one, though, I think you're a bit off... On most Unix systems,
there is no such thing as file creation time. There is only the time
of last file change; a file is considered changed when its inode data
(permissions, owner, group, etc.) is changed.
Cheers,
NC
[Back to original message]
|