Add extra parentheses to make the logic more apparent
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var current:Date = new Date( ); if ((current.getDate( ) == 17) && (current.getMonth( ) == 3)) { trace ("Happy Birthday, Bruce!"); } } } }