by Adobe

Adobe logo


15 July 2010

ActionScript has access to the local computer's time and date information while using an instance of a Date object. The Date object can return the computer's hour, minute, seconds, day, month, and year.

This sample demonstrates a clock interface that uses the Date object in ActionScript to display the viewing computer's local time.