by Adobe


      15 July 2010

      Page Tools


User level

Required products
Adobe Animate CC

Sample files


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.


This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

More Like This