Storing Position Data (Lag compensation) [SOLVED]

I’m looking for the best way to store all recent positions of a player for a second.
So that would be like 60 positions(update loop runs at 60hz) to remove and and re-add per second.
I can’t use System.currentTimeMillis(); as this will vary per pc.
What would be the best way to do this?