Hi,

you can use the Date class of flash:

Code:
var d = new Date;
d.getTime();
You have to call the getTime() function on every frame because the time in the Date object doesn't change while the real time passes.

To access the time values, you can use the following functions:
Code:
d.getSeconds();
d.getMinutes();
d.getHours();
There's more information about the Date class in the 3DFA syntax helper or here:
http://livedocs.adobe.com/flash/9.0/...efV3/Date.html