# Analog clock problem server time

**URL:** <https://forum.kirupa.com/t/analog-clock-problem-server-time/305164>\
**Category:** Uncategorized\
**Created:** [February 20, 2010, 3:22am UTC](https://forum.kirupa.com/t/analog-clock-problem-server-time/305164 "2010-02-20T03:22:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![haloucinogen](https://avatars.discourse-cdn.com/v4/letter/h/eb8c5e/32.png) [@haloucinogen](https://forum.kirupa.com/u/haloucinogen)\
**Post date:** [February 20, 2010, 3:22am UTC](https://forum.kirupa.com/t/analog-clock-problem-server-time/305164/1 "2010-02-20T03:22:30Z")

</div>

hello here is a code i found in the web for an analog clock :

time = new Date(year, month, date, hour, min, sec, ms);  
setProperty(“second-p”, \_rotation, time.getSeconds() \* 6);  
setProperty(“minutes-p”, \_rotation, time.getMinutes() \* 6);  
setProperty(“hours-p”, \_rotation, (time.getUTCHours()+1)\*30+time.getMinutes()/2);

is someone can tell me how i can pull time from a server and not for my system, for the moment this code is based on the system from the user,s computer and when the user’s sytem is late , the clock also is late that why i want to pull time from a server.  
Someone have any idea.

u can find the .fla if u want to take a look 🙂
