Alles Gute. Code: var Birthday:Date = new Date(1988, 7, 26); var Name:String = "DFYX"; var Today:Date = new Date(); if(Birthday.getMonth() == Today.getMonth() && Birthday.getDate() == Today.getDate()) { trace("Happy Birthday, "+Name); }
var Birthday:Date = new Date(1988, 7, 26); var Name:String = "DFYX"; var Today:Date = new Date(); if(Birthday.getMonth() == Today.getMonth() && Birthday.getDate() == Today.getDate()) { trace("Happy Birthday, "+Name); }
Foren-Regeln