Skripts:
Code
<script language="JavaScript1.2">
<!--hide
var isnMonth = new
Array("Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts",
"Septembris","Oktobris","Novembris","Decembris");
var isnDay = new
Array("Svētdiena","Pirmdiena","Otrdiena","Trešdiena","Ceturtdiena","Piektdiena","Sestdiena","Svētdiena");
today = new Date () ;
Year=today.getYear();
if (Year < 1000)
Year+=1900
Date=today.getDate();
function setdate(){
document.title="Sveiki. Šodien ir: "+isnDay[today.getDay()]+", "+isnMonth[today.getMonth()]+" "+Date+", "+Year+""
}
if (document.all)
setdate()
else if (document.getElementById)
window.onload=setdate
//--hide-->
</script>
Iznākums: