package{
import flash.display.Sprite;
publicclass Main extends Sprite{
public function Main(){
var now = new Date( ); // Create a new Date object
var day = now.getDate( ); // Returns an integer between 1 and 31
var month = now.getMonth( ); // Returns an integer between 0 and 11
if ( !( (month + day)==1) ) {
// Execute "not-January 1st" code
}
}
}
}