Hi I'm trying to get the current time including the nanoseconds in actionscript 3 for use in flex 4.5. Anyone that can help me out?
The smallest time measure available in Flash Player is milliseconds.
To get current time just create new Date
object:
var currentTime:Date = new Date();
See more documentation of Date
class here.
ActionScript doesn't expose a timer that precise.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With