Re: FILEMTIME
| From: | Lars Olsson | Date: | Fri, 09 Aug 2002 05:29:31 +0000 |
| Subject: | Re: FILEMTIME | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111768@lists.php.net to get a copy of this message | ||
Mike Zagorski wrote:
Hello, I amusing the following PHP code.. but I want to make it so that it also displays the time in 24 hr mode and the time is +3600 seconds. (1 hour) <? $last_modified = filemtime("about.php"); print("Last Updated "); print(date("m/j/Y", $last_modified)); ?> How can I do this? Thanks MikeCheck out http://www.php.net/gmdate (for the timezone offset) and http://www.php.net/date (for the date formatting). /lasso (lasso@lassoweb.nu)