Flash Clock

I’m making a flash site and I need some help on something. Okay so basically I’m planning on adding a clock to the site, that displays the same info as your computer’s clock. Pretty simple. But then, I want certain aspects of the site to change, relative to the time. Would it be possible to sort of give the clock an instance name, then add some actionscript that basically says ‘if the time is past so-and-so, display this swf. If not, then display this.’ Or something? So I want two timezones, day and night. Can anyone give me some help or point me in the right direction?