codice:<script type="text/javaScript"> var lastmod = document.lastModified.toString(); var dt = /(\d{2})\/(\d{2})\/(\d{4})/.exec(lastmod) var dt = dt[2] + '/' + dt[1] + '/' +dt[3]; document.write('<center>Ultimo aggiornamento: '); document.write(dt); document.write('</center>'); </script>
Una nota: center è un tag deprecato e non andrebbe usato più.