Date / Time code

Description

This example shows how to add one of those lines saying when a page was last modified on your page .

Code

<?php
$last_modified = filemtime("phpmodified.php");
print("Last Modified ");
print(date("m/j/y h:i", $last_modified));
?>

 

In Action

Last Modified 12/7/03 05:25

 

Sponsors

 

 
 

Copyright 2002 All rights reserved