Control movieclips depending of time

I download a tutorial to make a digital clock now what I want to do is make my movieclips go to a different frame depending of the hour

you know I want to make that effect of day/nigth

well I hope you could help me

thanks