Re: what is the format of the filemtime string
| From: | Jim lucas | Date: | Wed, 05 Jun 2002 18:25:24 +0000 |
| Subject: | Re: what is the format of the filemtime string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100755@lists.php.net to get a copy of this message | ||
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" <ace@ringway77.freeserve.co.uk>
To: <php-general@lists.php.net>
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
>
>