How to get the accumulated time of a state in the state machine

Thanks for your answer, maybe I didn’t describe clearly. I want the elapsed time of certain state.
Fortunately, I found it, it’s called “Current State Time” Node. But thanks you a lot.