Working with dates and times

Timing might not be everything, but it's usually a key factor in software applications. ActionScript 3.0 provides powerful ways to manage calendar dates, times, and time intervals. Two main classes provide most of this timing functionality: the Date class and the new Timer class in the flash.utils package.

Contents

Basics of dates and times

Managing calendar dates and times

Controlling time intervals

Example: Simple analog clock