here is the action script for flash clocks onClipEvent (enterFrame) { myTime = new Date () ; Seconds = myTime.getSeconds() ; Minutes = myTime.getMinutes() ; Hours = myTime.getHours() ; if (Hours>=12) { ampm = "pm"; } else { ampm = "am"; } if (Hours>=13) { Hours = Hours-12; } if (length(Minutes) == 1) { Minutes = "0"+Minutes; } if (length(Seconds) == 1) { nSeconds = "0"+nSeconds; } Clock = Hours+":"+Minutes+":"+Seconds+" "+ampm; }
Create a free website at Webs.com