Controlling a movie by computer date

Hi, does anyone know the best way to control a movie by the date on a computer. For instance the movie is a list of events [say 20], but only the first 5 are visible. As the first event date passes [say 16.12.05], the movie will then move to show the next relevant 5 events - moving the movie by x, y positioning.

Is it something along the lines of:

var today: Date = new Date();
if(today.getDate() < 16.12.05){
//do this [x,y]
}else{
//do that [x,y]
}

But do i need to create an array to control specific events [spread over 3 months, the array with dates, months].
Any ideas? Any help much appreciated.