Here's a quick HOWTO in figuring out how to
accomplish your goal.
First, after going here:
http://www.php.net/filemtime
You'll notice that filemtime() returns a unix
timestamp. And after going here:
http://www.php.net/date
You'll notice that date() takes on two
arguments/parameters w
M
Subject: RE: [PHP] what is the format of the filemtime string
> tight i have tried what you said:
>
> $last_mod = filemtime($file);
> $tdate = date($last_mod);
>
> but now the output is in this format - c707-b076
>
> sorry to be ask again but can you give me more of a clu
tight i have tried what you said:
$last_mod = filemtime($file);
$tdate = date($last_mod);
but now the output is in this format - c707-b076
sorry to be ask again but can you give me more of a clue as you've probably
guessed - i'm a novice
thanks
--
PHP General
On Thursday 06 June 2002 01:34, _michael wrote:
> i am trying to find out when my files were last modified (accessing all
> files on the server is not a problem)
>
> to try and find this i am using: filemtime($file) - but this ruturns a
> string - 1015171598
>
> what is the format of the string?
i am trying to find out when my files were last modified (accessing all
files on the server is not a problem)
to try and find this i am using: filemtime($file) - but this ruturns a
string - 1015171598
what is the format of the string? - are there ways to return the last
modified data in the fo
5 matches
Mail list logo