Analog Alarm clocks

I need some help.How can I make a movie clip play using the time from the host computer,thus when the time says one O’clock, the movieclip plays once and when the time is 2 O’clock the movie clip plays twice and so on. i need the code for that