There is the time and wallclocktime expression, you can always access.
When you want to know how long an object has been around, just set an instance variable of the object to time, when you create it. And later you can calculate time -sprite.instancevariable to get the number of seconds this object has been around.