# Real time analog clock needs to run faster

**URL:** <https://forum.kirupa.com/t/real-time-analog-clock-needs-to-run-faster/277641>\
**Category:** Uncategorized\
**Created:** [December 15, 2008, 10:32am UTC](https://forum.kirupa.com/t/real-time-analog-clock-needs-to-run-faster/277641 "2008-12-15T10:32:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vandee11](https://avatars.discourse-cdn.com/v4/letter/v/b2d939/32.png) [@vandee11](https://forum.kirupa.com/u/vandee11)\
**Post date:** [December 15, 2008, 10:32am UTC](https://forum.kirupa.com/t/real-time-analog-clock-needs-to-run-faster/277641/1 "2008-12-15T10:32:26Z")

</div>

Hi, I have an animation with analog clock showcasing 4 different countries’ real time. I need to run it faster like a stopwatch after a point and stop it at 12.the clock is designed in actionscript and the I am using the following function for getting the real time. Please if someone can help me out with this. Thanks.

clock1.onEnterFrame = function () {  
time=new Date(); // time object

seconds = time.getUTCSeconds()  
minutes = time.getUTCMinutes()  
hours = time.getUTCHours()

hours = hours +(minutes/60);  
hours = hours -3;

seconds = seconds_6;  
minutes = minutes_6;  
hours = hours\*30;

this.secondsHand.\_rotation=seconds ;  
this.minutesHand.\_rotation=minutes;  
this.hoursHand.\_rotation=hours;
