Code:
var amp = mydate.getHours();
// assume it's am (frame 1)
var frame = 1;
// if the hour is greater than 11 it's pm
if (amp > 11) {
    // so we want frame 2
    frame = 2;
} 
// send the clip to the right frame
_root.clock.ampm.gotoAndStop(frame);