Analog clock problem server time

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 :slight_smile: