<!--
document.write("Web Log :<br/><br/>");
monthStrings = new Array("januar","februar","marts","april","maj", "juni","juli",
"august","september","oktober","november","december" );
weekStrings = new Array("søndag", "mandag","tirsdag","onsdag",
"torsdag","fredag","lørdag");
function appendZero(number)
{
if (number < 10)
return "0"+number;
else
return number;
}
today = new Date(document.lastModified);
document.write("Opdateret");
if (today != null & today.getTime() > 0)
{
day = today.getDate();
year = today.getYear();
hours = today.getHours();
minutes = today.getMinutes();
if (year < 2000)year += 1900;
document.write(" "+weekStrings[today.getDay()]);
document.write(" d. " + day + ".");
document.write(" "+monthStrings[today.getMonth()]);
document.write(" " + year);
document.write(" kl. " + appendZero(hours) + ":" + appendZero(minutes));
}
else
document.write(" på et ukendt tidspunkt");
//-->
Gem som f.eks. updated.txt og inkuder scriptet i din <head> ... </head> sektion med :
<script type="text/javascript" src="updated.txt"></script>
</MOLOKYLE>