*LOL* ... geile frage! ______________________________ Date.prototype.getSeason = function() { if (this.getMonth() >= 0 && this.getMonth() <= 2) return ('spring'); else if (this.getMonth() >= 3 && this.getMonth() <= 5) return ('summer'); else if (this.getMonth() >= 6 && this.getMonth() <= 8) return ('autumn'); else if (this.getMonth() >= 9 && this.getMonth() <= 11) return ('winter'); } myDate = new Date(); trace(myDate.getSeason()); ______________________________ so vielleicht? cheers, eric. > bin gerade total braindead: > kann mir jemand verraten, wie man ganz simpel die jahreszeit > ausliest / erzeugt ? > > 1stpixel ------------------------------------------------------ Archiv : //www.freelists.org/archives/ascoders/ Optionen : //www.freelists.org/list/ascoders ------------------------------------------------------