Thema: Profis @ WKO
Einzelnen Beitrag anzeigen
Alt 10.11.2003, 12:10   #3
_m3
Inventar
 
Registriert seit: 24.09.2001
Beiträge: 7.335


Standard

ROTFL
Es ist VIEL schlimmer, als ich dachte.
Das ist kein Perl-SCript dahinter, sondern ein Client-seitiges JavaScript.
Code:
Letzte Aktualisierung: <script language="JavaScript">
<!--

Heute=new Date();
var Tag=Heute.getDate();
var Monat=Heute.getMonth()+1;
var Jahr=Heute.getYear();              

document.write(''+Tag+'.'+Monat+'.'+Jahr+'
');

//-->
Da hat wieder mal wer nur mit dem IE getestet:
Zitat:
The specifications for JavaScript indicate that this function should return years since 1900 and that the function getFullYear() should be used to retrieve a full, 4-digit year. Internet Explorer sometimes returns all four digits when getYear() is used.
____________________________________
Weiterhin zu finden auf http://martin.leyrer.priv.at , http://twitter.com/leyrer , http://www.debattierclub.net/ , http://www.tratschen.at/ und via Instant Messaging auf Jabber: m3 <ät> cargal.org .
_m3 ist offline   Mit Zitat antworten