getElapsed

.getElapsed()

Returns how much time, in milliseconds, the timer has elapsed for. This is a value from 0, up to the maximum duration.

Even if the Timer expired in the past, the value of elapsed will never be greater then the duration of this Timer.

This is essentially the opposite of 'getDurationLeft'.

See also

getDuration - getDurationLeft