Hola
creo que mas bien esto pertenece a javascript, no estoy seguro de que esto lo haga php, has de seguir investigando.
ahora bien es una pregunta que mas bien pertenece a google uuuffffff como aparecen en el google script de estos, probar con esto y veras:
script fecha ultima actualización
no obstante aqui te dejo el codigo mas usado.
Código HTML:
<script language="JavaScript" type="text/javascript">
<!--
// last modified script by Bernhard Friedrich; should work in all browsers
var a;
a=new Date(document.lastModified);
lm_year=a.getYear();
if (lm_year<1000){ //just in case date is delivered with 4 digits
if (lm_year<70){
lm_year=2000+lm_year;
}
else lm_year=1900+lm_year;
} //end workaround
lm_month=a.getMonth()+1;
if (lm_month<10){
lm_month='0'+lm_month;
}
lm_day=a.getDate();
if (lm_day<10){
lm_day='0'+lm_day;
}
document.write("Última actualización " + lm_day+'/'+lm_month+'/'+lm_year);
// -->
</script>
Ejemplo:
Última actualización 04/07/2006