Clock in Action Script

2

I created a watch on Action Script to use as content for Digital Signage with 6 countries' time, but I'm having a problem with daylight saving time.

I used getHours to pick up schedules and applied the spindle difference with simple math, but gethours takes the system time.

How can I get an online time or a separate country or at least one free time zone and work better on summer time? Is there any place where I can pick up time online or even create something on my server to do this?

    
asked by anonymous 16.07.2014 / 16:12

1 answer

2

If your Flash is on a system with internet connection you can consume this API - > link allows you to get the time from anywhere in the world (normal or daylight saving) and choose the answer format (between XML or JSON).

I'm considering that you have internet based on how you should distribute content to digital signage.

If you do not have it then it would be the case to ask via network or configure according to the machine clock in an external file.

    
02.08.2014 / 02:26