RE: [PHP] what is the format of the filemtime string

2002-06-05 Thread Philip Olson
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

Re: [PHP] what is the format of the filemtime string

2002-06-05 Thread Jim lucas
the date() function takes two arguments. $date_time_format = "m-d-Y"; echo date($date_time_format, $unix_time_string); Jim Lucas - Original Message - From: "_michael" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 05, 2002 11:15 A

RE: [PHP] what is the format of the filemtime string

2002-06-05 Thread _michael
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

Re: [PHP] what is the format of the filemtime string

2002-06-05 Thread Jason Wong
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?