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 AM
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 clue as you've
probably
> guessed - i'm a novice
>
> thanks
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to