Get animation's current time or total animation length

We have set of animations and we want the user to be able to scrub through the animation using a slider. I have figured out how to force the animation time when the slider is moved using the “Set Position” node, but I also need to sync the slider with the animation time when it is playing by itself.

There does not seem to any nodes that will give the current time (“position”) of an animation, now any nodes that will give me the total length of an animation.

Does anyone know how to get the current animation time or its total length?

The same question,Have you found a solution