POSLEDNA ZMENA

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

020
p020.html / p020.zip
Vypise datum poslednej zmeny dokumentu
1039b
NN 4.04, IE 4.0

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<html> <head> <title> JavaScript DESTINATION - P020 </title> <SCRIPT LANGUAGE="JavaScript"> <!-- function MakeArray(n) {this.length = n; return this;} var Days = new MakeArray(7); var Months = new MakeArray(12); Days[1]="Nedela"; Days[2]="Pondelok"; Days[3]="Utorok"; Days[4]="Streda"; Days[5]="Stvrtok"; Days[6]="Piatok"; Days[7]="Sobota"; Months[1]="Januar"; Months[2]="Februar"; Months[3]="Marec"; Months[4]="April"; Months[5]="Maj"; Months[6]="Jun"; Months[7]="Jul"; Months[8]="August"; Months[9]="September"; Months[10]="Oktober"; Months[11]="November"; Months[12]="December"; function getNiceDate(theDate) { return Days[theDate.getDay()+1] + " " + theDate.getDate() + " " + Months[theDate.getMonth()+1] + " 19" + theDate.getYear(); } // --> </SCRIPT> </head> <BODY> Posledna zmena: <SCRIPT LANGUAGE="JavaScript"> <!-- var lastMod = new Date(); lastMod.setTime(Date.parse(document.lastModified)); document.writeln(getNiceDate(lastMod)); // --> </SCRIPT> </body> </html>
[ Navrat / BACK ]