PDA

View Full Version : FLASH clock .getUTC not working



bolszo
08 Jan 2009, 07:54 AM
Hi,
I'm trying to create a clock which will show time from a given time zone. In this case I'm using the .getUTC command. I have a problem though as it is working in adobe flash when I do the "Test Movie" option but later after exporting it shows time from my computer. Can anyone help me please.
Maybe there is a different way to do it?

Thanks in advance.


This is the code I'm using:
time=new Date(); // time object
minutes = time.getUTCMinutes()
hours = time.getUTCHours()

hours = hours +(minutes/60);
hours = hours +1;

minutes = minutes*6; // calculating minutes
hours = hours*30; // calculating hours

minute_hand._rotation=minutes; // giving rotation property
hour_hand._rotation=hours; // giving rotation property

kaethy
10 Mar 2011, 05:29 AM
Our time and attendance system is totally optimized for multiple sites, multiple time zones and multiple languages. There are many features that allow you to configure the application to fit your solution needs. This application will assist your company with compliant with the Fair Labor Standards Act (FLSA) and other state and federal labor regulations.




payroll check calculator (http://www.labortimetracker.com)