Put this code in a placeholder (body section) on any of your website pages and adjust the font color to what you want to. Upload your webpage and each time you do this then the date you modified the page is updated as well. No input required at all.
<SCRIPT LANGUAGE="JavaScript">
function Initialize()
{ this.length = Initialize.arguments.length
for ( var i = 0; i < this.length; i++ ) this[ i + 1 ] =
Initialize.arguments[ i ]
}
var DayOfWeek = new Initialize("Updated", "Updated", "Updated",
"Updated", "Updated", "Updated", "Updated" );
var MonthName = new Initialize("Jan", "Feb", "Mar", "Apr",
"May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov",
"Dec");
var LastModifiedDate = new Date(document.lastModified);
document.write("<bold><font color=FFFFFF>");
document.write(DayOfWeek[(LastModifiedDate.getDay() + 1 )] ,", ");
document.write(MonthName[(LastModifiedDate.getMonth() + 1)] ," ");
year=LastModifiedDate.getYear();
if (year<100) year+=100;
if (year<1000) year+=1900;
document.write( LastModifiedDate.getDate() ,", " ,( year ) );
hours= LastModifiedDate.getHours();
document.write( " at ", ((hours < 10) ? "0" : "") + hours )
minutes= LastModifiedDate.getMinutes();
document.write( ((minutes < 10) ? ":0" : ":") + minutes );
</SCRIPT>
Bookmarks