Dino Müller: getYear und MSIE

Hallo,

ich habe mal wieder ein Problem mit dem Internet Explorer.

Folgende Funktion...

function customDateString(oneDate)
{
  var theDay = dayNames[oneDate.getDay()]
  var theMonth = monthNames[oneDate.getMonth()]
  var theYear = oneDate.getYear() + 1900
  return theDay + ",<BR>" + oneDate.getDate() + ". " + theMonth + " " + theYear
}

liefert unter Netscape richtig
"Donnerstag, den 6. Jan. 2000"

Nur unter MSIE bekomme ich
"Donnerstag, den 6. Jan. 3900"

Kann mir da mal einer bei helfen?

MfG,
  Dino.

  1. Alles zurück, ich habs's selber gefunden-

    ok, ich weiß, erst denken, dann posten :)