PHP-Code:
// Kommende Tage im Monat
Date.prototype.getCommingDaysOfMonth = function() {
   return 
Math.abs(Math.floor((this-new Date(this.getFullYear(), this.getMonth()+1))/(1000*60*60*24))+1);
};
ASSetPropFlags(Date.prototype"getCommingDaysOfMonth"1true);

// Verwenden
datum = new Date();
trace("Kommende Tage im Monat: " datum.getCommingDaysOfMonth()); 
Liebe Grüsse
Matze K.